Skip to content

Commit

Permalink
[collector]bugfix:To fix the issue of reusing the adminClient durin…
Browse files Browse the repository at this point in the history
…g the process of modifying monitoring instances in the Kafka client
  • Loading branch information
doveLin0818 committed Dec 22, 2024
1 parent aa2d1bd commit 727de06
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ public static synchronized AdminClient getAdminClient(String brokerList) {
properties.put(AdminClientConfig.BOOTSTRAP_SERVERS_CONFIG, brokerList);
adminClient = KafkaAdminClient.create(properties);
preUrl = brokerList;
return adminClient;
}
return adminClient;
}
Expand Down

0 comments on commit 727de06

Please sign in to comment.