Chia-Ping Tsai created KAFKA-21441:
--------------------------------------
Summary: Use extra string field to represent the byte field in
formatter
Key: KAFKA-21441
URL: https://issues.apache.org/jira/browse/KAFKA-21441
Project: Kafka
Issue Type: Improvement
Reporter: Chia-Ping Tsai
Assignee: Chia-Ping Tsai
Some records have (enum) byte fields, and they are hard to read from console.
So we could add an extra string field to show its string value, which is more
readable. Using an extra field ensures the output works on the round-trip.
See MirrorStateMessageFormatter (https://github.com/apache/kafka/pull/24129)
for an example. TransactionLogMessageFormatter currently replaces
transactionStatus with the name, so it should be aligned as well.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)