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

camel-kafka: better error messages in the health check

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.18.0
    • 3.18.1, 3.19.0
    • camel-kafka
    • None
    • Unknown

    Description

      The message from the root exception is currently not added to the Health Check, which results in errors like "KafkaConsumer is not ready" without any more additional information.

      We could extract the message from the root cause, which includes details on why the KafkaConsumer is not ready, like an unreachable bootstrap url, or an invalid port number.

      Also, in cases where pollExceptionStrategy was not able to be set, a NPE is thrown during the health check, which results in a bad message.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rinaldodev Rinaldo Pitzer JĂșnior
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: