Jeremy Custenborder created KAFKA-6811:
------------------------------------------
Summary: Tasks should have access to connector and task metadata
Key: KAFKA-6811
URL: https://issues.apache.org/jira/browse/KAFKA-6811
Project: Kafka
Issue Type: Improvement
Components: KafkaConnect
Reporter: Jeremy Custenborder
As a connector developer it would be nice to have access to more metadata about
within a (Source|Sink)Task. For example I could use this to log task specific
data within the log. There are several connectors where I only run a single
task but would be able to do taskId() % totalTasks() for partitioning.
High level I'm thinking something like this.
{code:java}
String connectorName();
int taskId();
int totalTasks();
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)