ditto icon indicating copy to clipboard operation
ditto copied to clipboard

Kafka metrics missing for authentication/authorization problems

Open ffendt opened this issue 6 years ago • 0 comments

Hi there,

when playing around with Kafka connections I found a missing metric entry when having authentication problems with the used Kafka service provider.

There are success metrics for the categories dispatched, filtered and mapped but there is missing a failure on the published category.

When looking into the logs if found out that KafkaPublisherActor logs a message when it encounters such problems. However, it does not look as if it would be easy to add the correct metric since the called method does not know the context in which an error occured. It seems as if we would need to rewrite (and enhance) some functionality that is currently part of the alpakka kafka library.

ffendt avatar Jun 03 '19 10:06 ffendt