Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-5797

StoreChangelogReader should be resilient to broker-side metadata not available

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.11.0.1, 1.0.0
    • Component/s: streams
    • Labels:
      None

      Description

      In StoreChangelogReader#validatePartitionExists, if the metadata for the required partition is not available, or a timeout exception is thrown, today the function would directly throw the exception all the way up to user's exception handlers.

      Since we have now extracted the restoration out of the consumer callback, a better way to handle this, is to only validate the partition during restoring, and if it does not exist we can just proceed and retry in the next loop

        Attachments

          Activity

            People

            • Assignee:
              guozhang Guozhang Wang
              Reporter:
              guozhang Guozhang Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: