Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why do we always create an admin client with the same "connector-dlq-adminclient-" id? #60

Open
ignat233 opened this issue Oct 15, 2024 · 0 comments

Comments

@ignat233
Copy link

Why do we always create an admin client with the same "connector-dlq-adminclient-" id?

Map<String, Object> adminProps = adminConfigs(id.connector(), "connector-dlq-adminclient-", config, connConfig, connectorClass, connectorClientConfigOverridePolicy, kafkaClusterId, ConnectorType.SINK);

For all other cases, a postfix is ​​added.
image
Because of this I get "Error registering AppInfo mbean
javax.management.InstanceAlreadyExistsException: kafka.admin.client:type=app-info,id=connector-dlq-adminclient-."
It looks like the ConnectorTaskId should be added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant