- Install InfluxDB: https://portal.influxdata.com/downloads
- sudo systemctl restart influxd
Enable authentication
- sudo nano /etc/influxdb/influx.conf
- Change auth-enabled to true:
- Change bind-address to "0.0.0.0:8086"
[http]
# Determines whether HTTP endpoint is enabled.
enabled = true
# The bind address used by the HTTP service.
bind-address = "0.0.0.0:8086"
# Determines whether user authentication is enabled over HTTP/HTTPS.
auth-enabled = true #<---- right here!
Create an admin user:
influx
> CREATE USER nathan WITH PASSWORD '123456' WITH ALL PRIVILEGES
> exit
Install KafkaSync
Almost identical to KafkaProcess install.
Change broker and authentication info in Settings.yml
python3 -m pip install influxdb
Remove the init.py from the package.