[ 
https://issues.apache.org/jira/browse/FLINK-31319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Leonard Xu resolved FLINK-31319.
--------------------------------
    Fix Version/s: 1.16.2
       Resolution: Fixed

Fixed by: 
 * flink-connector-kafka main : 58f35374b6aec63491623321f4de69a0affa629a
 * flink 1.17: 09fb503f0f3bba2fa0bbab9452baebe07af288cc
 * flink 1.16: a5f085e042be70f45485165c5755171ac5ed8cb4

> Kafka new source partitionDiscoveryIntervalMs=0 cause bounded source can not 
> quit
> ---------------------------------------------------------------------------------
>
>                 Key: FLINK-31319
>                 URL: https://issues.apache.org/jira/browse/FLINK-31319
>             Project: Flink
>          Issue Type: Bug
>          Components: Connectors / Kafka
>    Affects Versions: 1.17.0, 1.16.1
>            Reporter: Ran Tao
>            Assignee: Ran Tao
>            Priority: Critical
>              Labels: pull-request-available
>             Fix For: 1.17.0, 1.16.2
>
>         Attachments: image-2023-03-04-01-37-29-360.png, 
> image-2023-03-04-01-39-20-352.png, image-2023-03-04-01-40-44-124.png, 
> image-2023-03-04-01-41-55-664.png
>
>
> As kafka option description, partitionDiscoveryIntervalMs <=0 means disabled.
> !image-2023-03-04-01-37-29-360.png|width=781,height=147!
> just like start kafka enumerator:
> !image-2023-03-04-01-39-20-352.png|width=465,height=311!
> but inner 
> handlePartitionSplitChanges use error if condition( < 0):
> !image-2023-03-04-01-40-44-124.png|width=576,height=237!
>  
> it will cause noMoreNewPartitionSplits can not be set to true. 
> !image-2023-03-04-01-41-55-664.png|width=522,height=610!
> Finally cause bounded source can not signalNoMoreSplits, so it will not quit.
> Besides,Both ends of the if condition should be mutually exclusive.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to