yanghua 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_r213034601
 
 

 ##########
 File path: 
flink-connectors/flink-connector-kafka-0.9/src/main/java/org/apache/flink/streaming/connectors/kafka/internal/Kafka09Fetcher.java
 ##########
 @@ -206,6 +208,9 @@ protected KafkaConsumerCallBridge createCallBridge() {
                return new KafkaConsumerCallBridge();
        }
 
+       protected Iterable<Map.Entry<String, byte[]>> 
headersOf(ConsumerRecord<byte[], byte[]> record) {
+               return Collections.emptyList();
+       }
 
 Review comment:
   insert a new line after this looks better

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to