KAFKA-17757: Remove Utils.mkEntry
Removes Utils#mkMap and Utils#mkEntry as JDK 9+ allows Map.ofEntries and Map.entry for creating immutable map.
Utils#mkMap will be handled in KAFKA-17820
Committer Checklist (excluded from commit message)
- [ ] Verify design and implementation
- [ ] Verify test coverage and CI build status
- [ ] Verify documentation (including upgrade notes)
@mingyen066 Please check the CI
@mingyen066 please fix conflicts
Hi @chia7712, sorry for the late reply. I've migrated all the mkEntry usages to Map.entry, except for those used to create entries with null values.
@mingyen066 We should close this PR if we cannot completely remove Utils.mkEntry. Introducing these extensive changes to 4.0 at this stage provides no clear benefits. Thanks for your patch!