Skip to content
代码片段 群组 项目
未验证 提交 e0f215bb 编辑于 作者: Chia-Ping Tsai's avatar Chia-Ping Tsai 提交者: GitHub
浏览文件

MINOR: Add proper checks to KafkaConsumer.groupMetadata (#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 <jason@confluent.io>
上级 6fa9f3c9
无相关合并请求
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册