osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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)