You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes: spring-projects#2943
The `if (this.kafkaAdmin != null && this.clusterId == null) {` condition
might be always true for concurrent threads (especially virtual).
Therefore, all of those threads are calling `this.kafkaAdmin.clusterId()`
making unnecessary network chats to Kafka broker
* Surround `this.kafkaAdmin.clusterId()` call with `Lock`
**Cherry-pick to `3.0.x`**
Fixes: #2943
The `if (this.kafkaAdmin != null && this.clusterId == null) {` condition
might be always true for concurrent threads (especially virtual).
Therefore, all of those threads are calling `this.kafkaAdmin.clusterId()`
making unnecessary network chats to Kafka broker
* Surround `this.kafkaAdmin.clusterId()` call with `Lock`
**Cherry-pick to `3.0.x`**
Fixes: #2943
The `if (this.kafkaAdmin != null && this.clusterId == null) {` condition
might be always true for concurrent threads (especially virtual).
Therefore, all of those threads are calling `this.kafkaAdmin.clusterId()`
making unnecessary network chats to Kafka broker
* Surround `this.kafkaAdmin.clusterId()` call with `Lock`
**Cherry-pick to `3.0.x`**
See more info in the discussion: #2780 (comment)
The text was updated successfully, but these errors were encountered: