muralibasani commented on code in PR #17538:
URL: https://github.com/apache/kafka/pull/17538#discussion_r1806100519
##########
connect/runtime/src/main/java/org/apache/kafka/connect/runtime/Worker.java:
##########
@@ -1005,7 +1005,7 @@ private List<ErrorReporter<ConsumerRecord<byte[],
byte[]>>> sinkTaskReporters(Co
if (topic != null && !topic.isEmpty()) {
Map<String, Object> producerProps =
baseProducerConfigs(id.connector(), "connector-dlq-producer-" + id, config,
connConfig, connectorClass,
connectorClientConfigOverridePolicy, kafkaClusterId);
- Map<String, Object> adminProps = adminConfigs(id.connector(),
"connector-dlq-adminclient-", config, connConfig, connectorClass,
connectorClientConfigOverridePolicy, kafkaClusterId, ConnectorType.SINK);
+ Map<String, Object> adminProps = adminConfigs(id.connector(),
"connector-dlq-adminclient-" + connConfig.get("connector.name"), config,
connConfig, connectorClass, connectorClientConfigOverridePolicy,
kafkaClusterId, ConnectorType.SINK);
Review Comment:
I see there is a method getConnectorNames() too. Not sure how we get the
relevant connector name for this worker.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]