Skip to content

Commit de2f8e0

Browse files
Merge pull request #289262 from jlian/eg-retain-note
Added note about EG not supporting retain
2 parents b1b46da + 8af3916 commit de2f8e0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

articles/iot-operations/connect-to-cloud/howto-configure-mqtt-endpoint.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -821,6 +821,9 @@ mqttSettings:
821821

822822
The *retain* setting only takes effect if the dataflow uses MQTT endpoint as both source and destination. For example, in an [MQTT bridge](tutorial-mqtt-bridge.md) scenario.
823823

824+
> [!IMPORTANT]
825+
> Azure Event Grid MQTT broker [currently doesn't support the retain flag](../../event-grid/mqtt-support.md#mqttv5-current-limitations). This means if you set the retain flag to `Keep` for an Event Grid MQTT broker endpoint and it's being used as a destination, the messages are rejected. To avoid this, set the retain flag to `Never` when using Event Grid MQTT broker as a destination.
826+
824827
### Session expiry
825828

826829
You can set the session expiry interval for the dataflow MQTT client. The session expiry interval is the maximum time that an MQTT session is maintained if the dataflow client disconnects. The default is 3600 seconds. To configure the session expiry interval:

0 commit comments

Comments
 (0)