Open karlp opened 4 years ago
See https://github.com/eclipse/mosquitto/issues/2980 "Feature Request: Expand bridge with Session Expiry Interval (MQTT 5.0)"
any update on this issue? i would like to connect my bridge with v5 but my use case must reconnect and get missed messages while the bridge was offline.
Only applicable to the develop branch, where bridge connection protocol has been added.
Clean session false is set, but without setting a non-zero session expiry, it's still effectively treated as clean session.
This is in src/bridge.c where it calls
rc2 = send__connect(context, context->keepalive, context->clean_start, NULL);
with NULL for the properties.I'm not sure what the correct behaviour here is. At a minimum, I presume a method of setting arbitrary v5 props on bridges is required, then either...
Example configs for testing:
and
Subscribe to "edge" broker,
Then