Repository - API - Source
before_consume
method
-- around_consume
as a class method or without yielding values
-- publish
and async_publish
with positional argumentsaround_consume
was updated to yield them.around_consume
to yield payload and metadata, and deprecate
before_consume
and around_consume
that does not yield anything.publish
and async_publish
to use keyword arguments
instead of positional ones. Deprecate positional arguments
in anticipation of removing them with 2.0.persistent_connections
setting and the corresponding
sync_producer_shutdown
method to enable reusing the connection
for regular (sync) producers.BatchHandler
to consume messages in batches on the business
layer.around_consume
is now an instance method #82Phobos::Test::Helper
is broken #53each_message
instead of each_batch
via the delivery listener option. #21consume
and before_consume
. #47before_consume
callback to support single point of decoding a message klarna/phobos_db_checkpoint#34Phobos::Test::Helper
for testing, to test consumers with minimal setup requiredKafka::ProcessingError
into the abort blocklistener.process_message
and listener.process_batch
#24