[
https://issues.apache.org/jira/browse/FLINK-20777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17255853#comment-17255853
]
Qingsheng Ren commented on FLINK-20777:
---------------------------------------
Hi [[email protected]], Thanks for your reviewing~ I think a better
implementation would be only overriding the value to -1 when the the source is
bounded. For unbounded mode it should be assigned to the default value 30
seconds as documented in {KafkaSourceOptions} if not passed in explicitly.
Actually this is due to the implementation of {maybeOverride} helper function.
> Default value of property "partition.discovery.interval.ms" is not as
> documented in new Kafka Source
> ----------------------------------------------------------------------------------------------------
>
> Key: FLINK-20777
> URL: https://issues.apache.org/jira/browse/FLINK-20777
> Project: Flink
> Issue Type: Bug
> Components: Connectors / Kafka
> Reporter: Qingsheng Ren
> Priority: Major
> Fix For: 1.12.1
>
>
> The default value of property "partition.discovery.interval.ms" is documented
> as 30 seconds in {{KafkaSourceOptions}}, but it will be set as -1 in
> {{KafkaSourceBuilder}} if user doesn't pass in this property explicitly.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)