-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 9.10
-
Fix Version/s: 9.10-HF36, 10.10-HF14, 11.1, 2021.0
-
Component/s: Streams
-
Environment:Kafka an metrics
-
Release Notes Summary:A possible contention on getAppender method with Kafka is fixed.
-
Tags:
-
Backlog priority:800
-
Team:PLATFORM
-
Sprint:nxplatform 11.1.17
-
Story Points:2
2 methods are synchronized on KafkaLogManager:
- getAppender
- getLagPerPartition
The first one takes time only at init but the second can be a long blocking operation depending on the number of topic/partitions.
The getLagPerPartition is used by the monitoring so it impacts the producer's throughput.
Fix this by using different synchronization object.