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

StoreChangelogReader should be resilient to broker-side metadata not available

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.11.0.1, 1.0.0
    • streams
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment