[ 
https://issues.apache.org/jira/browse/FLINK-20777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17258689#comment-17258689
 ] 

Qingsheng Ren commented on FLINK-20777:
---------------------------------------

I took more investigation on the logic here. Actually the partition discovery 
should be enabled when: 1. source is unbounded 2. stoppingOffset is not 
specified. 

> 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
>              Labels: pull-request-available
>             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)

Reply via email to