bbejeck commented on code in PR #17021:
URL: https://github.com/apache/kafka/pull/17021#discussion_r1803833666


##########
streams/src/main/java/org/apache/kafka/streams/KafkaStreams.java:
##########
@@ -993,12 +995,17 @@ private KafkaStreams(final TopologyMetadata 
topologyMetadata,
 
         // use client id instead of thread client id since this admin client 
may be shared among threads
         this.clientSupplier = clientSupplier;
-        adminClient = 
clientSupplier.getAdmin(applicationConfigs.getAdminConfigs(ClientUtils.adminClientId(clientId)));
+        final Map<String, Object> adminConfigs = 
applicationConfigs.getAdminConfigs(ClientUtils.adminClientId(clientId));
+        adminConfigs.put(AdminClientConfig.ENABLE_METRICS_PUSH_CONFIG, true);

Review Comment:
   Done via #17422



-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to