espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.43k stars 7.25k forks source link

Feature Request: MQTT Broker (IDFGH-9393) #10766

Open GeckoNickDeveloper opened 1 year ago

GeckoNickDeveloper commented 1 year ago

Is your feature request related to a problem?

No response

Describe the solution you'd like.

A simple solution like a component that can be configured with simple values, like a limited queue size (eg. max 5), max topic number (eg. 10) and simultaneous connections.

Describe alternatives you've considered.

There are other libraries, however I'd like to continue using ESP-IDF for a better integration.

Additional context.

This would be usefull for projects where you do have multiple ESP32 but not a proper pc for handling the MQTT Broker locally .

This effect can be also achieved by raw sockets, however mqtt is a solid standard and I personally think ESP-IDF should include the Broker capability.

nopnop2002 commented 1 year ago

Try this:

https://github.com/nopnop2002/esp-idf-mqtt-broker

euripedesrocha commented 1 year ago

Hi @GeckoNickDeveloper, this is an interesting feature. We'll put this in our pipeline of development.

In the meantime, as you pointed, you can try some available libraries.

sramrajkar commented 1 year ago

Hi. I am also looking at MQTT broker. Currently in the dev phase I can use the Mongoose to do a PoC. But it is GPL. I would like to have expressif provide this feature. This is kind of urgent for the project time lines

newcomertv commented 1 year ago

+1 we have faced this issue multiple times that clients want an MQTT broker and we tell them there are no solid options to pick from.

@nopnop2002 great contribution! unfortunately mongoose is GPL so it's hard to use it in a professional environment

RaceMouse-of-Denmark commented 6 months ago

+1