You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "see-quick (via GitHub)" <gi...@apache.org> on 2026/03/26 13:39:20 UTC
[PR] MINOR: Replace Collections factory methods with Java 11+ equivalents in group-coordinator and part of clients [kafka]
see-quick opened a new pull request, #21876:
URL: https://github.com/apache/kafka/pull/21876
This PR is another one with changing old JDK 8 API to JDK 11.
It's changing in the whole `group-coordinator` module and part of clients (i.e., common/requests, common/errors, common/config). I didn't want to do the whole... because it would be more bigger change ...
Also I have faced the issue where in `GroupCoordinatorService we use `Collections.singletonList(null)` so I skipped that as `List.of(...)` would break the code. Moreover in `AssignorHelpers` there is `Collections.emptyMap().getClass()` which is using reflection and that I would also use different class ...
--
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-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] MINOR: Replace Collections factory methods with Java 11+ equivalents in group-coordinator and part of clients [kafka]
Posted by "chia7712 (via GitHub)" <gi...@apache.org>.
chia7712 merged PR #21876:
URL: https://github.com/apache/kafka/pull/21876
--
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-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org