You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jeremy Custenborder (JIRA)" <ji...@apache.org> on 2018/04/20 19:52:32 UTC
[jira] [Created] (KAFKA-6811) Tasks should have access to connector
and task metadata
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)