apache/pinot

Handle change in default groupId behavior in kafka consumer

Ouverte

#9 183 ouverte le 9 août 2022

 (4 commentaires) (0 réaction) (0 personne assignée)Java (1 234 forks)batch import
good first issue

Métriques du dépôt

Stars
 (4 937 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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).

Guide contributeur