conduktor.io ↗

KIP-449 — Add connector contexts to log messages in Connect workers

Accepted Kafka 2.3 Connect

Adds structured logging context (connector name, task ID) to Connect worker log messages using MDC (Mapped Diagnostic Context), so that log entries from different connectors and tasks running in the same JVM can be attributed to their source. Connect worker logs intermix output from multiple threads handling different connectors and tasks, making it extremely difficult to trace a connector failure through log lines without manual correlation.

Details

AuthorRandall Hauch
StatusAccepted
Kafka Version2.3
JIRAKAFKA-3816
WikiView on Apache Wiki
Created2019-04-02
Last Modified2019-05-16
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.