brook v0.4.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

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

Link to this function

handle_messages(messages, state)

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

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