You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "George Smith (JIRA)" <ji...@apache.org> on 2017/05/07 16:52:04 UTC

[jira] [Created] (KAFKA-5185) Adding the RecordMetadata that is returned by the producer to the commitRecord method for SourceTask

George Smith created KAFKA-5185:
-----------------------------------

             Summary: Adding the RecordMetadata that is returned by the producer to the commitRecord method for SourceTask
                 Key: KAFKA-5185
                 URL: https://issues.apache.org/jira/browse/KAFKA-5185
             Project: Kafka
          Issue Type: Improvement
          Components: KafkaConnect
            Reporter: George Smith
             Fix For: 0.11.0.0


An improvement request I thought would be useful.

Added the producers record metadata object to the commitRecord method on the SourceTask class so more data is provided from the producer and it allows anyone overriding and hooking into the commitRecord method to receive more information about where the record was procuded to. 

Left the old commitRecord method with just the sourcerecord for backwards compatbility even though this would technically be included in a new version of kafka, it would intoduce a breaking change without it. 

Opened up PR here: https://github.com/apache/kafka/pull/2989



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)