[ https://issues.apache.org/jira/browse/KAFKA-2215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Manikumar resolved KAFKA-2215. ------------------------------ Resolution: Not A Problem Closing inactive issue. Also the default for console consumer's enable.auto.commit is set to false for auto-generated group Ids. > Improve Randomness for ConsoleConsumer > -------------------------------------- > > Key: KAFKA-2215 > URL: https://issues.apache.org/jira/browse/KAFKA-2215 > Project: Kafka > Issue Type: Bug > Reporter: Fabian Lange > Priority: Major > > Right now the console consumer does a new Random().nextInt(100_000) > https://github.com/apache/kafka/blob/trunk/core/src/main/scala/kafka/tools/ConsoleConsumer.scala#L123 > I would propose to use UUID.randomUUID().toString() instead. > I know this is quite edgy, but Random has shown its quirks from time to time. -- This message was sent by Atlassian JIRA (v7.6.3#76005)