Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-8290

Allow setting clientId in flink-connector-kafka-0.8

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.0
    • 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());
      ...
      

      Attachments

        Activity

          People

            xymaqingxiang xymaqingxiang
            xymaqingxiang xymaqingxiang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: