influxdata / influxdata/influxdb
influxdb could receive MQTT connections directly
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
Logged on behalf of a community member in Slack
__Proposal:__
Allow users to configure InfluxDB to act as an MQTT server
__Current behavior:__
The way to accomplish this today is to configure and run Telegraf
__Desired behavior:__
You can use InfluxDB with MQTT without running a server
__Alternatives considered:__
Describe other solutions or features you considered.
__Use case:__
Currently we are directing the data from sensor to a hardware device (no operating system) that connects directly to AWS Iot Core services. The data is arriving as a shadow service to IoT Core (visible on Amazon) and then is directed out to S3 and CloudWatch. The remote hardware device is communicating directly to the Amazon MQTT server. I was assuming that this same configuration could be made to InfluxDB. Then I read that the InfluxDB uses Telegraf (good). However, using InfluxDB "Cloud" seems to be missing the ability to receive MQTT connections directly. The Telegraf tab on the InfluxDB Cloud "Create a Telegraf config" only has 5 options and none of them seem to be MQTT compatible. I guess my basic question is whether the "Cloud" version of InfluxDB is able to use the "Telegraf Input Plugin: MQTT". If not, I don't see another method to get the sensor data to the Influx cloud. I hope I explained it clearly.
Contributor guide
Research direction
Start by reviewing InfluxDB Cloud's documented ingestion options and the Telegraf MQTT input plugin referenced in the issue. Determine whether direct MQTT server support belongs in InfluxDB or requires another service; done would be a defined, supported path for sending sensor data to InfluxDB Cloud without separately running Telegraf.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws
- Domain
- cloud, databases, networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100