Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-96740

Add retry logic when querying kafka metadata

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Atlas Streams

      Issue 1: Network error while querying kafka metadata

      A user started a stream processor and ran into:

      Could not connect to the Kafka topic: Local: Broker transport failure (-195)  

      A few minutes later they retried and the processor was able to successfully connect.

      We should add retry logic in our code that calls RdKafka::metadata API.

       

      Issue 2: Network error while querying kafka committed offsets

       Failed to start stream processor: KafkaConsumerOperator failed to get committed offsets: Local: Timed out (-185) 

      We should use a longer timeout or add retry logic on our side.

       

            Assignee:
            mayuresh.kulkarni@mongodb.com Mayuresh Kulkarni
            Reporter:
            matthew.normyle@mongodb.com Matthew Normyle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: