KafkaBatcher.Accumulator (kafka_batcher v1.0.0)

Accumulator process is used to accumulate messages until Accumulator.State will go into "ready to producing" status. There are many conditions to detect this status, which can be configured through kafka_batcher settings. See details how it works in KafkaBatcher.Accumulator.State module

Summary

Functions

Finds appropriate Accumulator process by topic & partition and dispatches event to it

Returns a specification to start this module under a supervisor

Functions

Link to this function

add_event(event, topic_name, partition \\ nil)

Finds appropriate Accumulator process by topic & partition and dispatches event to it

Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor

Link to this function

start_link(args)