gongxuanzhang commented on code in PR #19489:
URL: https://github.com/apache/kafka/pull/19489#discussion_r2596837495
##########
clients/src/main/java/org/apache/kafka/clients/producer/internals/BufferPool.java:
##########
@@ -48,7 +48,7 @@ public class BufferPool {
private final long totalMemory;
private final int poolableSize;
- private final ReentrantLock lock;
+ protected final ReentrantLock lock;
Review Comment:
At that time, I planned to create a new BufferPool, which would have
required using this lock. But now I have a better approach, so it’s no longer
needed.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]