off_broadway_kafka v0.5.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

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

Link to this function

generation_id()

Link to this function

handle_messages(messages)

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

Link to this function

handle_messages(messages, state)

handle_messages([term()], map()) :: :ok

Delegates message processing to the Producer message handler function.

Link to this function

init(args)

init(keyword()) :: {:ok, keyword()}

Supplies a basic init function, delegating the majority of setup to the included Elsa consumer handler using macro.