You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
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 from statistics.emitted and replaces it with :producer_id not to inject whole producer into the payload
Removes the :producer key from message.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 to waterdrop 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.