BatchBuilder
faststream.confluent.client.BatchBuilder #
A helper class to build a batch of messages to send to Kafka.
Initializes a new BatchBuilder instance.
Source code in faststream/confluent/client.py
append #
Appends a message to the batch with optional timestamp, key, value, and headers.