Releases: karafka/waterdrop
Releases · karafka/waterdrop
v2.0.7
- Source code metadata url added to the gemspec
- Replace
:producer
with:producer_id
in events and updateStdoutListener
accordingly. This change aligns all the events in terms of not publishing the whole producer object in the events. - Add
error.emitted
into theStdoutListener
. - Enable
StdoutLogger
in specs for additional integration coverage.
v2.0.6
v2.0.5
Bug fixes
- Fixes an issue where multiple producers would emit stats of other producers causing the same stats to be published several times (as many times as a number of producers). This could cause invalid reporting for multi-kafka setups.
- Fixes a bug where emitted statistics would contain their first value as the first delta value for first stats emitted.
- Fixes a bug where decorated statistics would include a delta for a root field with non-numeric values.
Changes and features
- Introduces support for error callbacks instrumentation notifications with
error.emitted
monitor emitted key for tracking background errors that would occur on the producer (disconnects, etc). - Removes the
:producer
key fromstatistics.emitted
and replaces it with:producer_id
not to inject whole producer into the payload - Removes the
:producer
key frommessage.acknowledged
and replaces it with:producer_id
not to inject whole producer into the payload - Cleanup and refactor of callbacks support to simplify the API and make it work with Rdkafka way of things.
- Introduces a callbacks manager concept that will also be within in Karafka
2.0
for both statistics and errors tracking per client. - Sets default Kafka
client.id
towaterdrop
when not set. - Updates specs to always emit statistics for better test coverage.
- Adds statistics and errors integration specs running against Kafka.
- Replaces direct
RSpec.describe
reference with auto-discovery - Patches
rdkafka
to provide functionalities that are needed for granular callback support.