Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-10807

KafkaConsumer still consume removed topic after changing topics list

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.6.2
    • None
    • Connectors / Kafka
    • None

    Description

      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 still fetches the data of the removed topic.

      Attachments

        Issue Links

          Activity

            People

              wind_ljy Jiayi Liao
              wind_ljy Jiayi Liao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: