Sarah Story created KAFKA-13477: ----------------------------------- Summary: Add Task ID and Connector Name to Connect Task Context Key: KAFKA-13477 URL: https://issues.apache.org/jira/browse/KAFKA-13477 Project: Kafka Issue Type: Improvement Components: KafkaConnect Reporter: Sarah Story Assignee: Sarah Story
Developers who are implementing a Kafka Connector do not have a convenient way to access the Task ID and Connector Name within their task implementation. The Task ID and Connector Name are important pieces of information that can be used for custom metrics, debugging, and logging. [KIP-449|https://cwiki.apache.org/confluence/display/KAFKA/KIP-449%3A+Add+connector+contexts+to+Connect+worker+logs] added the Task ID and Connector Name to the SLF4J MDC. It was accepted, and released as part of AK 2.3.0. That added the task context to the logs. It would be nice to take it a step further and make the Task ID and Connector Name available for developers to use within their task implementation however they see fit. -- This message was sent by Atlassian Jira (v8.20.1#820001)