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

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ignat233 ignat233
            ignat233 ignat233

            Dates

              Created:
              Updated:

              Slack

                Issue deployment