rondagostino commented on PR #13280: URL: https://github.com/apache/kafka/pull/13280#issuecomment-1442082585
Marking this as a Draft PR until we have a solution for replacing Paguro. One library that extends the `java.util` interfaces is [PCollections](https://github.com/hrldcpr/pcollections), but that has some potential performance concerns as described [here](https://github.com/GlenKPeterson/Paguro/wiki/UncleJim-vs.-PCollections). [vavr](https://github.com/vavr-io/vavr) is inspired by Scala, so it culturally fits here. Its classes do not implement the `java.util` interfaces, so I expect it will feel weird for methods to return a `HashMap` that turns out to be a `io.vavr.collection.HashMap` rather than the `java.util.HashMap` that one would assume. And it means signatures need to change -- something that returns a `Map` can no longer do so, and callers will be impacted. We're not talking a KIP here, but we are talking a bigger code impact than what this PR currently has. -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org