You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Jiayi Liao (JIRA)" <ji...@apache.org> on 2018/11/07 07:21:00 UTC

[jira] [Created] (FLINK-10807) KafkaConsumer still consume removed topic after changing topics list

Jiayi Liao created FLINK-10807:
----------------------------------

             Summary: KafkaConsumer still consume removed topic after changing topics list
                 Key: FLINK-10807
                 URL: https://issues.apache.org/jira/browse/FLINK-10807
             Project: Flink
          Issue Type: Bug
          Components: Kafka Connector
    Affects Versions: 1.6.2
            Reporter: Jiayi Liao
            Assignee: Jiayi Liao


subscribedPartitionsToStartOffsets in KafkaConsumerBase is getting values from restoredState, which is initialized in initializeState and discovering partitions. However, if we remove a topic in topics list and restore the Flink program, the restoredState still keeps removed topic, and the fetcher will still fetch the data of the topic.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)