KafkaMessageBus v4.2.9 KafkaMessageBus.Consumer behaviour View Source
Defines behaviors for kafka message bus consumers. The apps depending on this app will implement these.
Link to this section Summary
Link to this section Types
Link to this type
msg_content()
View Source
msg_content()
View Source
msg_content() :: Map.t()
msg_content() :: Map.t()
Link to this type
msg_error()
View Source
msg_error()
View Source
msg_error() :: String.t()
msg_error() :: String.t()
Link to this section Callbacks
Link to this callback
process(msg_content)
View Source
process(msg_content)
View Source
process(msg_content()) :: :ok | {:error, msg_error()}
process(msg_content()) :: :ok | {:error, msg_error()}