KafkaBatcher.Behaviours.Producer behaviour (kafka_batcher v1.0.0)
KafkaBatcher.Behaviours.Producer adds an abstraction level over producer implementations in various Kafka libs. Defines the callbacks that a Kafka producer should implement
Summary
Types
Link to this type
event()
@type event() :: KafkaBatcher.MessageObject.t()
Link to this type
events()
@type events() :: [event()]
Callbacks
Link to this callback
do_produce(events, topic, partition, config)
Link to this callback
get_partitions_count(binary)
Link to this callback
start_client()
Link to this callback