Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Now the Clientid that consumes the all topics are constant("flink-kafka-consumer-legacy-" + broker.id()), and it is not easy for us to look at kafka's log, so I recommend that it be modified to groupid.
We can modify the SimpleConsumerThread.java file, as shown below:
private final String clientId; ... this.clientId = config.getProperty("group.id", "flink-kafka-consumer-legacy-" + broker.id()); ...