kafka
kafka copied to clipboard
MINOR: Cleanup ShareFetchAcknowledgeRequestTest
Now that Kafka supports Java 17, this PR cleans up the ShareFetchAcknowledgeRequestTest. The changes mostly include:
- Collections.singletonList() is replaced with List.of()
- Get rid of all asJava conversions
Thanks @m1a2st I have addressed the comments
Hey @frankvicky / @chia7712 , Inviting you for reviews too. Thanks!
Gentle reminder @frankvicky @chia7712
@sjhajharia please fix the conflicts
Thanks @chia7712 I just fixed the conficts.