Mickael Maison created KAFKA-16246:
--------------------------------------
Summary: Cleanups in ConsoleConsumer
Key: KAFKA-16246
URL: https://issues.apache.org/jira/browse/KAFKA-16246
Project: Kafka
Issue Type: Improvement
Components: tools
Reporter: Mickael Maison
When rewriting ConsoleConsumer in Java, in order to keep the conversion and
review process simple we mimicked the logic flow and types used in the Scala
implementation.
Once the rewrite is merged, we should refactor some of the logic to make it
more Java-like. This include removing Optional where it makes sense and moving
all the argument checking logic into ConsoleConsumerOptions.
See https://github.com/apache/kafka/pull/15274 for pointers.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)