[
https://issues.apache.org/jira/browse/CAMEL-17727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen updated CAMEL-17727:
--------------------------------
Attachment: Screenshot 2022-03-04 at 19.00.56.png
> 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
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 3.16.0
>
> Attachments: Screenshot 2022-03-04 at 19.00.56.png
>
>
> 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)