atoti_kafka.KafkaStream#
- final class atoti_kafka.KafkaStream#
Consume a Kafka topic and stream its records in the table.
The records’ key deserializer default to StringDeserializer.
The records’ message must be a JSON object with columns’ name as keys.
See also
The other
DataStream
implementations.- batch_duration: timedelta = datetime.timedelta(seconds=1)#
Time spent batching received events before publishing them to the table in a single transaction.
- bootstrap_server: str#
host[:port]
that the consumer should contact to bootstrap initial cluster metadata.