KIP-721 — Enable connector log contexts in Connect Log4j configuration
Accepted Kafka 3.0 Connect
Enables connector log context enrichment (connector name, task ID) by default in the Connect `log4j.properties` configuration shipped with Kafka distributions. KIP-449 added the MDC context injection capability but intentionally left it disabled by default; Kafka 3.0's major version bump is the appropriate milestone to enable it.
Details
| Author | Randall Hauch |
| Status | Accepted |
| Kafka Version | 3.0 |
| JIRA | KAFKA-12484 |
| Wiki | View on Apache Wiki |
| Created | 2021-03-16 |
| Last Modified | 2021-06-23 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.