apache/pinot

Handle change in default groupId behavior in kafka consumer

オープン

#9,183 opened on 2022/08/09

 (4 件のコメント) (0 件のリアクション) (0 人の担当者)Java (1,234 件のフォーク)batch import
good first issue

Repository metrics

Stars
 (4,937 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Starting kafka 2.2.0 onwards, when group.id is not specified in the kafka consumer config, it is set as null, instead of an empty string. Due to this change, even though auto-commit is enabled, it doesn't show up in the consumer offsets topics. This breaks existing kafka monitoring tools.

One proposed solution is for Pinot to set a default group id when it was not explicitly configured by user (say, table name as the default group id).

コントリビューターガイド