off_broadway_kafka v0.3.1 OffBroadway.Kafka.ClassicHandler
Supplies a message handler for integrating with Broadway in a more traditional manner of including Broadway directly in the implementing application only supplying a handler module customized to the producing system. The "Classic" handler supplies a simple pass-through init function and delegates message handling to the OffBroadway.Kafka.Producer module.
Link to this section Summary
Functions
Callback implementation for Elsa.Consumer.MessageHandler.handle_messages/1
.
Delegates message processing to the Producer
message handler
function.
Supplies a basic init function, delegating the majority of setup to the included Elsa consumer handler using macro.
Link to this section Functions
generation_id()
handle_messages(messages)
Callback implementation for Elsa.Consumer.MessageHandler.handle_messages/1
.
handle_messages(messages, state)
Delegates message processing to the Producer
message handler
function.
init(args)
Supplies a basic init function, delegating the majority of setup to the included Elsa consumer handler using macro.