RealProducer faststream.confluent.publisher.state.RealProducer # RealProducer(producer) Source code in faststream/confluent/publisher/state.py 46 47def __init__(self, producer: "AsyncConfluentProducer") -> None: self.producer = producer producer instance-attribute # producer = producer stop async # stop() Source code in faststream/confluent/publisher/state.py 52 53async def stop(self) -> None: await self.producer.stop() ping async # ping(timeout) Source code in faststream/confluent/publisher/state.py 55 56async def ping(self, timeout: float) -> bool: return await self.producer.ping(timeout=timeout) flush async # flush() Source code in faststream/confluent/publisher/state.py 58 59async def flush(self) -> None: await self.producer.flush()