gausby / tortoise

A MQTT Client written in Elixir
Apache License 2.0
314 stars 54 forks source link

Please support subscriptions dynamically from system variables #92

Closed tanweerdev closed 6 years ago

tanweerdev commented 6 years ago

As .bash_profile doesn't accept the tuple format of system variables so we can't get subscriptions from system variables. There should be a way to specify subscriptions from system variables

gausby commented 6 years ago

I suggest that you handle that in your application code; parse the system environment variables you need into the format accepted by the tortoise configuration and start your tortoise instance with that.

tanweerdev commented 6 years ago

Makes perfect sense. thanks