[
https://issues.apache.org/jira/browse/FLINK-32307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17731487#comment-17731487
]
Gunnar Morling commented on FLINK-32307:
----------------------------------------
Happy to send a PR, unless someone feels I'm off here.
> Incorrect docs for default behavior of "scan.startup.mode" option
> -----------------------------------------------------------------
>
> Key: FLINK-32307
> URL: https://issues.apache.org/jira/browse/FLINK-32307
> Project: Flink
> Issue Type: Technical Debt
> Components: Connectors / Kafka
> Reporter: Gunnar Morling
> Priority: Major
>
> The [Kafka connector
> docs|https://nightlies.apache.org/flink/flink-docs-master/docs/connectors/table/kafka/#start-reading-position]
> say this in regards to the {{scan.startup.mode}} option:
> {quote}
> The default option value is group-offsets which indicates to consume from
> last committed offsets in ZK / Kafka brokers.
> {quote}
> Whereas what I actually observe is that the "earliest-offset" mode is used
> when not specifying a value for this option. This matches the implementation
> in
> [{{KafkaSourceBuilder}}|https://github.com/apache/flink/blob/master/flink-connectors/flink-connector-kafka/src/main/java/org/apache/flink/connector/kafka/source/KafkaSourceBuilder.java#L106]
> from a quick glimpse.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)