Companion

Functions

Link copied to clipboard

Create an instance of the InfluxDB 2.x client that is configured via {@code influx2.properties}. The {@code influx2.properties} has to be located on classpath.

fun create(options: InfluxDBClientOptions): InfluxDBClientKotlin
fun create(url: String, username: String, password: CharArray): InfluxDBClientKotlin
fun create(url: String, token: CharArray, org: String?, bucket: String?): InfluxDBClientKotlin

Create an instance of the InfluxDB 2.x reactive client.

fun create(connectionString: String): InfluxDBClientKotlin

Create an instance of the InfluxDB 2.x client.