DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
...
This led me to propose adding –-property print.topic=true to the kafka-console-consumer tool.
Printing a message with the "print.topic" set to "true" would produce this output:
Topic:topic valuePrinting a message with these properties:
"print.offset" -> "true"
"print.topic" -> "true"
"print.timestamp" -> "true"
"print.partition" -> "true"
"print.key" -> "true"
produces the following output:
NO_TIMESTAMP Partition:0 Offset:123 Topic:topic key valueProposed Changes
Adding –property print.topics=true would print the topic of the message. The accessor already exists in the topic() consumerRecord object.
...