forked from apache/kafka
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MINOR: Add proper checks to KafkaConsumer.groupMetadata (apache#9349)
Add following checks to `KafkaConsumer.groupMetadata`: 1. null check of coordinator (replace NPE by `InvalidGroupIdException` which is same to other methods) 2. concurrent check (`groupMetadata` is not thread-safe so concurrent check is necessary) Reviewers: Jason Gustafson <[email protected]>
- Loading branch information
1 parent
63ba1b9
commit b16c00d
Showing
2 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters