Fabian Lange created KAFKA-2215: ----------------------------------- Summary: Improve Randomness for ConsoleConsumer Key: KAFKA-2215 URL: https://issues.apache.org/jira/browse/KAFKA-2215 Project: Kafka Issue Type: Bug Reporter: Fabian Lange
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 (v6.3.4#6332)