Skip to content

Auto-configure client from configuration file #34

@bednar

Description

@bednar

InfluxDBClient loads the influx2.properties file automatically from the project classpath.
All you have to do is to create a new file under the src/main/resources directory:

influx2.url=http://localhost:9999
influx2.org=my-org
influx2.bucket=my-bucket
influx2.token=my-token
influx2.logLevel=BODY
influx2.readTimeout=5s
influx2.writeTimeout=10s
influx2.connectTimeout=5s

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions