Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to create broker thread error #4712

Open
3 tasks done
adawaefve opened this issue May 7, 2024 · 0 comments
Open
3 tasks done

Unable to create broker thread error #4712

adawaefve opened this issue May 7, 2024 · 0 comments

Comments

@adawaefve
Copy link

adawaefve commented May 7, 2024

Description

I am trying to build a project with librdkafka library in docker. Docker image builds succesfully and all dependencies are linked correctly, but when I build app, where I use the librdkafka library, I keep receiving different kinds of errors. Most common of them is :
, level: 2, log message: 'KafkaConsumer[c0f24ff0-be1be3a6] THREAD | [thrd:app]: Unable to create broker thread', (LIBRDKAFKA:0)
project: rdkafka_broker.c:5003: rd_kafka_broker_add_logical: Assertion `rkb && *"failed to create broker thread"' failed.
I am using exactly 1 producer and 2 consumers and all memory limits are set to unlimited in my docker container. Sometimes, when I comment out some of them I receive new error, that is connectted to modern cpp kafka library:
2024-05-07 10:01:45.345234: Local: Critical system resource failure [-194] (/usr/local/include/modern-cpp-kafka/kafka/KafkaClient.h:429)

How to reproduce

build a C++ project where is linked librdkafka ,modern cpp Kafka, pthread.

Checklist

Please provide the following information:

  • librdkafka version (release number or git tag): 2.4.0
  • librdkafka client configuration: message.timeout.ms=123, auto.reset.offset=earliest,
  • Operating system: docker- ubuntu 22.04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant