Currently we report on kafka metrics on .Produce(). However, there are scenarios that kafka delivery fails and we don't record those failures. Handling reporting of metrics based on producer events instead
Type of change
Please select all options that apply to this change:
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Documentation update
Checklist:
Confirm you have completed the following steps:
[X] My code follows the style of this project.
[X] I have performed a self-review of my code.
[ ] I have made corresponding updates to the documentation.
[ ] I have added/updated unit tests to cover my changes.
[ ] I have added/updated integration tests to cover my changes.
Description
Currently we report on kafka metrics on .Produce(). However, there are scenarios that kafka delivery fails and we don't record those failures. Handling reporting of metrics based on producer events instead
Type of change
Please select all options that apply to this change:
Checklist:
Confirm you have completed the following steps: