There are 3 HTTP client for InfluxDB under chronicler project. All client have the same api with different backend under the hood.
All of them have functionality delegation to smaller client, as separate jars:
- IO client (with suffix
io
) - Management client (with suffix
management
)
If you need to make IO related operations like read/write - choose IO client.
To create it call io
method on Influx factory object like this:
val ioClient = InfluxIO(...) // constructor parameters may wary depends on backend
If you need execute management operation like: create user/table/database/etc - choose Management client.
To create it call management
method on Influx factory object like this:
val managementClient = InfluxMng(...) // constructor parameters may wary depends on backend
All client have additional params in their constructor, for more information take a look on connect function or ask question on gitter.