Yunyung opened a new pull request, #17667: URL: https://github.com/apache/kafka/pull/17667
Modify GroupType#parse to return an Optional<GroupType>, and update the related code accordingly. To distinguish between 'null or empty' and 'unknown group type', we return Optional.empty() for null or empty values, eliminating the need for additional null or empty checks when calling GroupType.parse ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade notes) -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
