[ https://issues.apache.org/jira/browse/KAFKA-19183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17946119#comment-17946119 ]
Chia-Ping Tsai commented on KAFKA-19183: ---------------------------------------- It seems to me Pool is unnecessary after migrating to java. The additional function of Pool is `getAndMaybePut`, but it can be replaced by `computeIfAbsent` easily. In short, we can remove Pool class eventually > Move Pool and PoolTest to server module > --------------------------------------- > > Key: KAFKA-19183 > URL: https://issues.apache.org/jira/browse/KAFKA-19183 > Project: Kafka > Issue Type: Sub-task > Reporter: PoAn Yang > Assignee: PoAn Yang > Priority: Major > > 1. Mov Pool.scala and PoolTest.scala to server module. > 2. Rewrite them in Java. -- This message was sent by Atlassian Jira (v8.20.10#820010)