brook v0.2.0 Brook.Driver.Kafka.Handler

Implements the Elsa message handler behaviour for the Brook Kafka driver.

Link to this section Summary

Functions

Takes a list of Kafka messages consumed by Elsa and processes each with Brook.

Callback implementation for Elsa.Consumer.MessageHandler.init/1.

Link to this section Functions

Link to this function

generation_id()

Link to this function

handle_messages(messages)
handle_messages([term()]) :: :ack

Takes a list of Kafka messages consumed by Elsa and processes each with Brook.

Link to this function

handle_messages(messages, state)

Callback implementation for Elsa.Consumer.MessageHandler.handle_messages/2.

Callback implementation for Elsa.Consumer.MessageHandler.init/1.