brook v0.4.5 Brook.Driver.Kafka.Handler
Implements the Elsa message handler behaviour for the Brook Kafka driver.
Link to this section Summary
Functions
Callback implementation for Elsa.Consumer.MessageHandler.handle_messages/1
.
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
connection()
Link to this function
generation_id()
Link to this function
handle_messages(messages)
handle_messages(messages)
handle_messages([term()]) :: :ack
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.
Link to this function
init(args)
Callback implementation for Elsa.Consumer.MessageHandler.init/1
.
Link to this function
partition()
Link to this function