# MQTT Transmission Python Scripting Store and Forward

**URL:** <https://forum.cirrus-link.com/t/mqtt-transmission-python-scripting-store-and-forward/715>\
**Category:** Ignition Modules\
**Tags:** mqtt-transmission\
**Created:** [March 11, 2025, 4:51pm UTC](https://forum.cirrus-link.com/t/mqtt-transmission-python-scripting-store-and-forward/715 "2025-03-11T16:51:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rodrebman](https://avatars.discourse-cdn.com/v4/letter/r/e8c25b/32.png) [@rodrebman](https://forum.cirrus-link.com/u/rodrebman)\
**Post date:** [March 11, 2025, 4:51pm UTC](https://forum.cirrus-link.com/t/mqtt-transmission-python-scripting-store-and-forward/715/1 "2025-03-11T16:51:57Z")

</div>

I am currently building a UDT to publish via system.cirruslink.transmission.publish() into a custom UNS structure.

In testing I have disabled the broker and on restoring the connection I am getting a large amount of data published at one time. Does this script interface with the default history store and follow the flush parameters as configured? It would be good to maintain a flush period to slowly deplete my buffer and make sure the receiving end has time to process each data point.

---

<div class="post-metadata">

**Author:** ![JCarney](https://avatars.discourse-cdn.com/v4/letter/j/f6c823/32.png) [@JCarney](https://forum.cirrus-link.com/u/JCarney)\
**Post date:** [August 14, 2025, 3:16pm UTC](https://forum.cirrus-link.com/t/mqtt-transmission-python-scripting-store-and-forward/715/2 "2025-08-14T15:16:33Z")

</div>

Were you able to store messages in the history when using the “system.cirruslink.transmission.publish()” function?

I’m trying to use the same function, but want messages to be stored when the broker is offline.

---

<div class="post-metadata">

**Author:** ![rodrebman](https://avatars.discourse-cdn.com/v4/letter/r/e8c25b/32.png) [@rodrebman](https://forum.cirrus-link.com/u/rodrebman)\
**Post date:** [August 14, 2025, 5:23pm UTC](https://forum.cirrus-link.com/t/mqtt-transmission-python-scripting-store-and-forward/715/3 "2025-08-14T17:23:20Z")

</div>

No, after testing it appears that the Python scripting is held in the gateway memory due to a failed RPC to the broker. Upon restoration the data flow will resume to the broker but with no ability to throttle. If the gateway goes offline this would result in data loss as no on disk store is utilized. The store and forward appears limited to using the built-in tag transmitters.
