This application writes MSB events into InfluxDB.
- Java 8 or higher
-
Edit the application.properties-file
-
influxdb.server_url = http://localhost:8089
-
influxdb.user = user
-
influxdb.password = password
-
influxdb.batchmode = true # Enable for better performance
-
influxdb.useSourceTimestamp = true # If false, this app will inject the current timestamp
-
msb.truststore = ./cert/CERTS.trs
-
msb.url = ws://localhost:8085
-
app.uuid = 7ef0549b-9571-486f-9e24-75c1e9bb76df
-
app.name = InfluxDB-MSB-Connector
-
app.token = RandomTokenString
-
app.description = "This application writes MSB events into InfluxDB"
- Run:
mvn clean install
-
Place the jar with dependencies and your edited application.properties-file in the same directory
-
Open a bash or CMD in the same directory as the .jar
-
Run:
java -jar simple_influxdb_msb_connector-1.0.0-SNAPSHOT.jar
Docker Hub
https://hub.docker.com/r/arthurgrigo/simple-influxdb-msb-connector
-
Place docker-compose.yml and env.list in one directory
-
Edit env.list to your needs
-
Run:
docker-compose up -d