[
https://issues.apache.org/jira/browse/KAFKA-17808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17904146#comment-17904146
]
ignat233 commented on KAFKA-17808:
----------------------------------
Hi [~gharris1727],
Unfortunately, I can't create a PR. Please appoint someone so that the process
is not delayed.
And yes, I think in this case it would be more correct to add the task id.
{code:java}
"connector-dlq-adminclient-" + id
{code}
When adding connector name, the same error may occur.
> InstanceAlreadyExistsException:
> kafka.admin.client:type=app-info,id=connector-dlq-adminclient- when add
> connector with tasks
> ----------------------------------------------------------------------------------------------------------------------------
>
> Key: KAFKA-17808
> URL: https://issues.apache.org/jira/browse/KAFKA-17808
> Project: Kafka
> Issue Type: Bug
> Components: connect
> Reporter: ignat233
> Assignee: ignat233
> Priority: Major
> Attachments: image-2024-10-16-13-00-36-667.png
>
>
> 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.
> !image-2024-10-16-13-00-36-667.png!
> 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)