View Source OffBroadway.Kafka.ClassicHandler (off_broadway_kafka_pipeline v2.0.0)

Defines an Elsa.Consumer.MessageHandler for integrating with Broadway in the traditional way, using Broadway directly.

It supplies a simple pass-through init function and delegates message handling to the OffBroadway.Kafka.Producer module.

Set up by OffBroadway.Kafka.Producer.

Link to this section Summary

Functions

Handles Kafka messages.

Supplies a basic init function, delegating the rest to the default Elsa.Consumer.MessageHandler behavior.

Link to this section Functions

Link to this function

handle_messages(messages, state)

View Source

Handles Kafka messages.

Delegates message processing to OffBroadway.Kafka.Producer.handle_messages/2.

Supplies a basic init function, delegating the rest to the default Elsa.Consumer.MessageHandler behavior.