Librdkafka integration on embedded device #3832
-
Hello support team, I'm try to run librdkafka (as a Kafka consumer) on the microcontroller ESP32 (https://www.espressif.com/en/products/socs/esp32) As microcontroller are well know for small flash memory and CPU power compare with desktop PC my questions are following:
Excuse me for so general questions. Have a great evening and cold beers. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
librdkafka requires posix threads, multiple cores, and megabytes of memory, so it will not run on an ESP32 or similar. |
Beta Was this translation helpful? Give feedback.
-
Espressif had confirm the statement of @edenhill, that integration of librdkafka is not possible on IoT device: espressif/esp-idf#8848 (comment) |
Beta Was this translation helpful? Give feedback.
librdkafka requires posix threads, multiple cores, and megabytes of memory, so it will not run on an ESP32 or similar.
I recommend using a simple MQTT or HTTP client on the ESP32 and an MQTT connector or the Kafka REST proxy on the serer side to bridge between the embedded devices and Kafka.