aklivity / zilla

🦎 A multi-protocol edge & service proxy. Seamlessly interface web apps, IoT clients, & microservices to Apache Kafka® via declaratively defined, stateless APIs.
https://docs.aklivity.io/zilla
Other
533 stars 49 forks source link

Add more context to the Kafka API event code log formatter. #1126

Closed vordimous closed 3 months ago

vordimous commented 3 months ago

Is your feature request related to a problem? Please describe. When Zilla logs events from the Kafka API it is logging the event codes instead of the event names. The message logged should be more verbose with the event name and any other context that would help a users understand the issue.

Additional context

https://github.com/aklivity/zilla/blob/develop/runtime/binding-kafka/src/main/java/io/aklivity/zilla/runtime/binding/kafka/internal/KafkaEventFormatter.java#L56

Events Messege format suggestions: API_VERSION_REJECTED: DescribeConfigs (Version: 0) docs CLUSTER_AUTHORIZATION_FAILED: SaslAuthenticate (Version: 2)