You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Zongwen Li (Jira)" <ji...@apache.org> on 2022/01/04 06:21:00 UTC

[jira] [Closed] (FLINK-25503) KafkaDynamicSource: can't use group-offsets startup mode directly

     [ https://issues.apache.org/jira/browse/FLINK-25503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zongwen Li closed FLINK-25503.
------------------------------
    Resolution: Duplicate

> KafkaDynamicSource: can't use group-offsets startup mode directly
> -----------------------------------------------------------------
>
>                 Key: FLINK-25503
>                 URL: https://issues.apache.org/jira/browse/FLINK-25503
>             Project: Flink
>          Issue Type: Bug
>          Components: Connectors / Kafka
>    Affects Versions: 1.14.0, 1.14.2
>            Reporter: Zongwen Li
>            Priority: Major
>              Labels: pull-request-available
>
> If the group-offset startup mode is directly used when the submitted offset does not exist in the Kafka consumer group, the Kafka source table will throw a NoOffsetForPartitionException;
> Therefore, if you want to use the group-offset startup mode, you must first start in another mode and submit the offset, and then use this mode;
> I think this behavior is unnecessary, so I think that when using the group-offset startup mode, it is allowed to set the "{*}auto.offset.reset{*}" parameter instead of forcing the use of "{*}OffsetResetStrategy.NONE{*}"



--
This message was sent by Atlassian Jira
(v8.20.1#820001)