You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Qingsheng Ren (Jira)" <ji...@apache.org> on 2021/09/14 06:58:00 UTC

[jira] [Created] (FLINK-24277) Offset commit should be disabled if consumer group ID is not specified in KafkaSource

Qingsheng Ren created FLINK-24277:
-------------------------------------

             Summary: Offset commit should be disabled if consumer group ID is not specified in KafkaSource
                 Key: FLINK-24277
                 URL: https://issues.apache.org/jira/browse/FLINK-24277
             Project: Flink
          Issue Type: Bug
          Components: Connectors / Kafka
    Affects Versions: 1.14.0
            Reporter: Qingsheng Ren
             Fix For: 1.14.0


FLINK-24051 made "group.id" an optional configuration in KafkaSource. However, KafkaSource will generate a random group id if user doesn't specify one, and this random ID is inconsistent after failover, and not even human readable.

A solution will be adding a configuration for offset commit on checkpoint, make it as true by default, and disable offset commit if group id is not specified. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)