Neutron.PulsarConsumerCallback behaviour (neutron v0.2.1)
Callback for consumers to implement for handling a message and whether to ack it. The message contains following elements:
Link to this section Summary
Link to this section Types
Link to this type
properties()
Specs
Link to this type
state()
Specs
state() :: any()
Link to this section Callbacks
Link to this callback
handle_message({}, state)
Specs
handle_message( {:neutron_msg, String.t(), reference(), String.t(), pos_integer(), pos_integer(), non_neg_integer(), properties(), String.t()}, state() ) :: :ack | :ack_all | :nack