azagrebin commented on a change in pull request #6615: [FLINK-8354] [flink-connectors] Add ability to access and provider Kafka headers URL: https://github.com/apache/flink/pull/6615#discussion_r249367559
########## File path: flink-connectors/flink-connector-kafka-0.11/src/main/java/org/apache/flink/streaming/connectors/kafka/FlinkKafkaProducer011.java ########## @@ -641,6 +641,9 @@ public void invoke(KafkaTransactionState transaction, IN next, Context context) } else { record = new ProducerRecord<>(targetTopic, null, timestamp, serializedKey, serializedValue); } + for (Map.Entry<String, byte[]> header: schema.headers(next)) { Review comment: space before `:` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services