halfgaar / FlashMQ

FlashMQ is a fast light-weight MQTT broker/server, designed to take good advantage of multi-CPU environments
https://www.flashmq.org/
Open Software License 3.0
173 stars 24 forks source link

How can I bridge FlashMQ to another MQTT broker? #59

Closed MGasztold closed 9 months ago

MGasztold commented 11 months ago

Hello,

Is it possible to configure a bridge to another MQTT broker so that my broker forwards messages from some selected topics to another broker? It is a core feature e.g. in mosquitto, see http://www.steves-internet-guide.com/mosquitto-bridge-configuration/

I cannot find any settings for that in the flashmq config file. Please help. Thanks.

halfgaar commented 11 months ago

It's being developed. I suspect it will take a few weeks more, give or take a few weeks :)

halfgaar commented 10 months ago

Just a brief update. A test version should be available soon.

halfgaar commented 9 months ago

A branch with test version is here: https://github.com/halfgaar/FlashMQ/tree/bridge-public-beta

It can be compiled with build.sh or cmake. Are you able to?

Documentation can be seen here, although Github renders it as plain text. The file can be downloaded and viewed.

The documentation can also be read by man:

cd /path/to/FlashMQ
cd man
man -l flashmq.conf.5
MGasztold commented 9 months ago

@halfgaar Thank you for update. I hope to be able to test it soon.

halfgaar commented 9 months ago

I'm probably going to release this tomorrow as version 1.7.0. It will still be somewhat experimental, but when not using it, it doesn't hit that much new code, so should be safe enough to include.

halfgaar commented 9 months ago

Version 1.7.0 with bridge support was released. It will now enter the next testing phase, but seemed stable enough to include.