Skip to content

Commit

Permalink
fixed cgroup producers
Browse files Browse the repository at this point in the history
  • Loading branch information
smartloli committed Jun 2, 2020
1 parent 042f8f0 commit ca95aee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -344,9 +344,9 @@ private void topicProducerLogSizeStats() {

List<TopicRank> topicRanks = new ArrayList<>();
List<TopicLogSize> topicLogSizes = new ArrayList<>();
long producerThreads = 0L;
String[] clusterAliass = SystemConfigUtils.getPropertyArray("kafka.eagle.zk.cluster.alias", ",");
for (String clusterAlias : clusterAliass) {
long producerThreads = 0L;
List<String> topics = brokerService.topicList(clusterAlias);
for (String topic : topics) {
long logsize = brokerService.getTopicProducerLogSize(clusterAlias, topic);
Expand Down

0 comments on commit ca95aee

Please sign in to comment.