Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added offsets and headers to consumer cli (KAFKA-7767) #6065

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

berman7
Copy link

@berman7 berman7 commented Dec 24, 2018

This PR adds the capability to print partition/offset pairs per message, and its headers.

added configs:
print.offsets=true|false (print partition/offset pair)
print.headers=single_line|line_per_header|false (print headers in one line (to be able to grep on it) or in separate lines).
headers.separator=<headers.separator> (separate between each header, if print.headers==single_line)
headers.kv.separator=<headers.kv.separator> (separate between each key and value).

https://issues.apache.org/jira/browse/KAFKA-7767

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant