This message spams our log. Is it a real error, or can this be ignored?
%3|1720719719.448|FAIL|rdkafka#consumer-2| [thrd:GroupCoordinator]: GroupCoordinator: SASL authentication error: SaslAuthenticateRequest failed: Local: Broker transport failure (after 0ms in state DOWN)
All operations on the consumer group work and succeed, but then closing it, we get that "error" message.
I don't quite get it, but it seems that for some reason when closing the consumer group, the lib tries to (re-)auth the connection. Even though it is in the middle of terminating it.
I would gladly take any suggestion how to avoid the message.
docker compose -f ./docker-compose.yaml run --build test
docker compose -f ./docker-compose.yaml run --build test
docker compose -f ./docker-compose.yaml run --build --env "DEBUG_LEVEL=broker,security" test > security.log 2>&1
docker compose -f ./docker-compose.yaml run --build --env "DEBUG_LEVEL=all" test > all.log 2>&1
docker compose -f ./docker-compose.yaml down
After the second "run", you should see the log message:
%3|1720719719.448|FAIL|rdkafka#consumer-2| [thrd:GroupCoordinator]: GroupCoordinator: SASL authentication error: SaslAuthenticateRequest failed: Local: Broker transport failure (after 0ms in state DOWN)
[x] confluent-kafka-python and librdkafka version (confluent_kafka.version() and confluent_kafka.libversion()):
confluent_kafka.version: ('2.4.0', 33816576)
confluent_kafka.libversion: ('2.4.0', 33816831)
[x] Apache Kafka broker version: 7.6.1 ?
[x] Client configuration: {...} see code
[x] Operating system: docker / alpine
[x] Provide client logs (with 'debug': '..' as necessary)
Description
This message spams our log. Is it a real error, or can this be ignored?
All operations on the consumer group work and succeed, but then closing it, we get that "error" message.
I don't quite get it, but it seems that for some reason when closing the consumer group, the lib tries to (re-)auth the connection. Even though it is in the middle of terminating it.
I would gladly take any suggestion how to avoid the message.
How to reproduce
Run
After the second "run", you should see the log message:
See security.log and all.log
Checklist
Please provide the following information:
confluent_kafka.version()
andconfluent_kafka.libversion()
): confluent_kafka.version: ('2.4.0', 33816576) confluent_kafka.libversion: ('2.4.0', 33816831){...}
see code'debug': '..'
as necessary)