# MQTT topic subscription

**URL:** <https://community.influxdata.com/t/mqtt-topic-subscription/9386>\
**Category:** Telegraf\
**Tags:** telegraf\
**Created:** [April 10, 2019, 1:21pm UTC](https://community.influxdata.com/t/mqtt-topic-subscription/9386 "2019-04-10T13:21:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Radoslaw\_Jankiewicz](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/radoslaw_jankiewicz/32/2828_2.png) [@Radoslaw\_Jankiewicz](https://community.influxdata.com/u/Radoslaw_Jankiewicz)\
**Post date:** [April 10, 2019, 1:21pm UTC](https://community.influxdata.com/t/mqtt-topic-subscription/9386/1 "2019-04-10T13:21:37Z")

</div>

Is it possible to add/modify MQTT topic subscriptions on running telegraf instance? I found that topic is defined in telegraf’s config file, but is there any api that would let me to change it while telegraf is running?

---

<div class="post-metadata">

**Author:** ![sebito91](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/sebito91/32/42_2.png) [@sebito91](https://community.influxdata.com/u/sebito91)\
**Post date:** [April 10, 2019, 8:18pm UTC](https://community.influxdata.com/t/mqtt-topic-subscription/9386/2 "2019-04-10T20:18:54Z")

</div>

Unfortunately no, telegraf doesn’t allow for runtime changes. You would need to restart the telegraf binary when you’ve updated your `telegraf.conf`
