Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-17727

camel-kafka: add producer/consumer readiness checks

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.16.0
    • camel-kafka
    • None
    • Unknown

    Description

      When a kafka broker is not reachable, the kafka client automatically tries to re-connect, as example:

      2022-02-24 18:12:32,880 WARN  [org.apa.kaf.cli.NetworkClient] (Camel (camel-1) thread #1 - KafkaConsumer[test]) [Consumer clientId=consumer-c8b8rsv13hohlh07kbv0-1, groupId=c8b8rsv13hohlh07kbv0] Error connecting to node foo.bar:443 (id: 1 rack: us-east-1b): java.net.UnknownHostException: foo.bar:: Name or service not known
      

      It would be nice if we have a consumer/producer readiness checks that can mark the application as not ready when the client is not connected.

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              lb Luca Burgazzoli
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: