[ 
https://issues.apache.org/jira/browse/BEAM-4038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16459432#comment-16459432
 ] 

Geet Kumar commented on BEAM-4038:
----------------------------------

{quote}
How about adding {{KafkaIO.writeRecords()}} which is a 
{{PCollection<{ProducerRecord<K, V>, PDone>}}?
{quote}

Agreed that this approach would be more flexible. Minor point, I would propose 
to use KafkaRecord instead of ProducerRecord, this makes the signature for 
write better complement read.

> Support Kafka Headers in KafkaIO
> --------------------------------
>
>                 Key: BEAM-4038
>                 URL: https://issues.apache.org/jira/browse/BEAM-4038
>             Project: Beam
>          Issue Type: New Feature
>          Components: io-java-kafka
>            Reporter: Geet Kumar
>            Assignee: Geet Kumar
>            Priority: Major
>             Fix For: 2.5.0
>
>          Time Spent: 9h 10m
>  Remaining Estimate: 0h
>
> Headers have been added to Kafka Consumer/Producer records (KAFKA-4208). The 
> purpose of this JIRA is to support this feature in KafkaIO.  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to