AsyncConfluentProducer
faststream.confluent.helpers.AsyncConfluentProducer
#
An asynchronous Python Kafka client using the "confluent-kafka" package.
Source code in faststream/confluent/helpers/client.py
stop
async
#
Stop the Kafka producer and flush remaining messages.
Source code in faststream/confluent/helpers/client.py
flush
async
#
send
async
#
send(
topic,
value=None,
key=None,
partition=None,
timestamp_ms=None,
headers=None,
no_confirm=False,
)
Sends a single message to a Kafka topic.
Source code in faststream/confluent/helpers/client.py
create_batch
#
send_batch
async
#
Sends a batch of messages to a Kafka topic.
Source code in faststream/confluent/helpers/client.py
ping
async
#
Implement ping using list_topics
information request.