chia7712 commented on code in PR #16987:
URL: https://github.com/apache/kafka/pull/16987#discussion_r1730294085
##########
tools/src/main/java/org/apache/kafka/tools/consumer/DefaultMessageFormatter.java:
##########
@@ -130,25 +134,31 @@ public void writeTo(ConsumerRecord<byte[], byte[]>
consumerRecord, PrintStream o
} else {
output.print("NO_TIMESTAMP");
}
- writeSeparator(output, printPartition || printOffset ||
printDelivery || printHeaders || printKey || printValue);
+ writeSeparator(output, anyTrue(printPartition, printOffset,
printDelivery, printEpoch, printHeaders, printKey, printValue));
Review Comment:
How about adding `BooleanExpressionComplexity` to suppression?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]