You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "jiawen xiao (Jira)" <ji...@apache.org> on 2020/12/29 07:13:00 UTC
[jira] [Comment Edited] (FLINK-20777) Default value of property
"partition.discovery.interval.ms" is not as documented in new Kafka Source
[ https://issues.apache.org/jira/browse/FLINK-20777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17255847#comment-17255847 ]
jiawen xiao edited comment on FLINK-20777 at 12/29/20, 7:12 AM:
----------------------------------------------------------------
sorry [~renqs],i think this is not a problem. you can read code in {{KafkaSourceBuilder}} .
The reason you will find "If the source is bounded, do not run periodic partition discovery."
so it's a check for bounded streaming which can prevent users from enabling dynamic partition discovery in the case of bounded sources.
was (Author: 873925389@qq.com):
sorry [~renqs],i think this is not a problem. your can read code in {{KafkaSourceBuilder}} .
The reason you will find "If the source is bounded, do not run periodic partition discovery."
so it's a check for bounded streaming which can prevent users from enabling dynamic partition discovery in the case of bounded sources.
> 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)