1
2つのmqttブローカーをブリッジする必要があります。 最初はモスキートで、ローカルに実行されます。 もう1つは、もう1つのモスキートインスタンスであり、リモートで実行されます。 私はブリッジ機能を使用して永続性を有効にして、最初のブローカから2番目のブローカにメッセージを転送します。 は、これは私のconfにある:Mosquitto最大ブリッジ持続性
# Bridge test
connection br-win-to-deb
bridge_insecure true
address 192.168.138.166:1883
cleansession false
clientid br-win-deb
start_type automatic
notifications false
try_private true
# Forward di tutti i messaggi con topic GATEWAY su topic AZURE
topiC# out 2 GATEWAY/ AZURE/
persistence true
persistence_file Messages.db
persistence_location C:/temp/
max_queued_messages 36000000
autosave_interval 10
queue_qos0_messages true
は実際にそれが動作しますが、ファイルは約達するMessages.dbときの1Gbおよび使用するRAMは約2ギガバイトmosquittoクラッシュに至ります。 Windows 7 x64でmosquittoを実行します。 メッセージ数は10000000のようですが、少なくとも36000000が必要です。 メモリの問題ですか?限界はありますか? 巨大なmsg数量をサポートするmqttブローカーが存在しますか?