You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Martijn Visser (Jira)" <ji...@apache.org> on 2023/03/16 13:49:00 UTC
[jira] [Assigned] (FLINK-31319) Kafka new source partitionDiscoveryIntervalMs=0 cause bounded source can not quit
[ https://issues.apache.org/jira/browse/FLINK-31319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martijn Visser reassigned FLINK-31319:
--------------------------------------
Assignee: Ran Tao
> 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, 1.16.2
> Reporter: Ran Tao
> Assignee: Ran Tao
> Priority: Critical
> Labels: pull-request-available
> 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)