You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Luca Burgazzoli (Jira)" <ji...@apache.org> on 2022/03/01 11:41:00 UTC
[jira] [Created] (CAMEL-17727) camel-kafka: add producer/consumer readiness checks
Luca Burgazzoli created CAMEL-17727:
---------------------------------------
Summary: camel-kafka: add producer/consumer readiness checks
Key: CAMEL-17727
URL: https://issues.apache.org/jira/browse/CAMEL-17727
Project: Camel
Issue Type: New Feature
Components: camel-kafka
Reporter: Luca Burgazzoli
When a kafka broker is not reachable, the kafka client automatically tries to re-connect, as example:
{code}
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
{code}
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.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)