GitHub user michaelandrepearce opened a pull request: https://github.com/apache/kafka/pull/2772
KAFKA-4208: Add Record Headers As per KIP-82 Adding record headers api to ProducerRecord, ConsumerRecord Support to convert from protocol to api added Kafka Producer, Kafka Fetcher (Consumer) Updated MirrorMaker, ConsoleConsumer and scala BaseConsumer Add RecordHeaders and RecordHeader implementation of the interfaces Headers and Header Some bits using are reverted to being Java 7 compatible, for the moment until KIP-118 is implemented. You can merge this pull request into a Git repository by running: $ git pull https://github.com/IG-Group/kafka KIP-82 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/2772.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2772 ---- commit f70c094ce5dcbd8be4d348c6dafc170ae94678dd Author: Michael Andre Pearce <michael.andre.pea...@me.com> Date: 2017-03-30T19:24:48Z KAFKA-4208: Add Record Headers As per KIP-82 Adding record headers api to ProducerRecord, ConsumerRecord Support to convert from protocol to api added Kafka Producer, Kafka Fetcher (Consumer) Updated MirrorMaker, ConsoleConsumer and scala BaseConsumer Add RecordHeaders and RecordHeader implementation of the interfaces Headers and Header ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---