Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-17808

InstanceAlreadyExistsException: kafka.admin.client:type=app-info,id=connector-dlq-adminclient- when add connector with tasks

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • connect
    • None

    Description

      Why do we always create an admin client with the same "connector-dlq-adminclient-" value id?
      https://github.com/apache/kafka/blob/trunk/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/Worker.java#L1008
      For all other cases, a postfix is ​​added.

       I get "Error registering AppInfo mbean
      javax.management.InstanceAlreadyExistsException: kafka.admin.client:type=app-info,id=connector-dlq-adminclient-." error for all tasks.
      It looks like the ConnectorTaskId should be added.

      Attachments

        Issue Links

          Activity

            People

              gharris1727 Greg Harris
              ignat233 ignat233
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: