[ https://issues.apache.org/jira/browse/KAFKA-5185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16191606#comment-16191606 ]
Guozhang Wang commented on KAFKA-5185: -------------------------------------- Moving it out of 1.0.0 for now. > 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 > > 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.4.14#64029)