These are chat archives for arnaud-lb/php-rdkafka

Oct 2018
Oct 03 2018 15:24
Hi everyone, is it possible to check somehow if the KafkaConsumer successfully connected to the server? I've noticed something weird in our application. I have this issue...when Kafka server is down, everything in application seems to be fine. No exception, no error codes, nothing is detectable in the code. When I turn on LOG_DEBUG, I can see this message on the output: %3|1538580130.464|FAIL|rdkafka#consumer-1| [thrd:]: Connect to ipv4# failed: Connection refused is shown during e.g. new KafkaConsumer(... but that is all. I'm testing this with docker machine (using wurstmeister/kafka and zoookeeper). Can I somehow turn on throwing of exceptions or is this expected behaviour?