Zongwen Li created FLINK-25503:
----------------------------------

             Summary: 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.2, 1.14.0
            Reporter: Zongwen Li


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)

Reply via email to