Karafka v2.0.26 is now released.Krafka is a framework for simplifying the development of Ruby applications based on Apache Kafka, which allows developers to use methods similar to standard HTTP conventions (params and params_batch) when consuming asynchronous Kafka messages. Karafka not only handles incoming messages, but also provides tools for building complex dataflow applications that receive and send messages.
The update content of this version is as follows:
- [Feature] Allowed by setting
active
Set to false to disable the given theme. It excludes them from consumption, but allows them to define usage management API etc. - [Improvement] Terminate early when the last available offset of the requested time is reached
read_topic
running. - [Improvement] introduce a
quiet
status, indicating that Karafka is not only moving to quiet mode, but has actually reached quiet mode, and no further work will occur in any consumer groups. - [Improvement] Use the routes topics defined by Karafka as much as possible for
read_topic
Management APIs. - [Improvement] introduce
client.pause
andclient.resume
instrumentation hooks to track client topic partition pauses and resumes.In addition, it can also be used withconsumer.consuming.pause
Together, they are used to track manual and automatic pauses and provide finer-grained consumer-related details.client.*
Should be used for low level tracking. - [Improvement] Will
LoggerListener
Pause notifications are replaced with aclient.pause
instead ofconsumer.consuming.pause
announcement of. - [Improvement] expand
LoggerListener
andclient.resume
Notice. - [Improvement] Replace the random anonymous subscription group with a stable one-time anonymous subscription group ID.
- [Improvement] Add to
consumer.consume
,consumer.revoke
andconsumer.shutting_down
Notify the event and move the revocation logic call to the policy. - [Change] Count the job queue
processing
key renamed tobusy
. No changes are required as the naming in the DataDog listener remains the same. - [Fix] Fix proctitle listener state change reporting new state.
- [Fix] Make sure all files descriptors are turned off in the integration spec.
- [Fix] Fix cases where empty subscription groups could leak into the execution flow.
- [Fix] repair
LoggerListener
report so that it does not.
Finish. - [Fix] Runs previously defined (if any) signal traps created before Karafka signal traps.
Update description: https://github.com/karafka/karafka/releases/tag/v2.0.26
#Karafka #v2026 #released #application #development #framework #based #Apache #Kafka #News Fast Delivery