influxdb/influxdb_iox_client
Phil Bracikowski 6cc2f03ea0
fix: default the write cli comment to the http default port. (#7394)
* fix: default the write cli command to the http default port.

The all-in-one write api is based on influxdb cloud's v2 http api, which
uses the 8080 http default port. This changeset will
allow 'influxdb_iox write' to work against default influxdb_iox
all-in-one without needing to use the --host option to change the port.

It should not change behavior for existing users of `--host`. It adds a
new configuartion option call `--http-host` to set the http port
separately from the gRPC one.

* fix: fmt
2023-03-31 14:59:24 +00:00
..
src fix: default the write cli comment to the http default port. (#7394) 2023-03-31 14:59:24 +00:00
Cargo.toml chore(deps): Bump thiserror from 1.0.39 to 1.0.40 (#7375) 2023-03-30 10:43:28 +00:00
README.md fix: default the write cli comment to the http default port. (#7394) 2023-03-31 14:59:24 +00:00

README.md

InfluxDB IOx Client

This is the Rust client library for connecting to InfluxDB IOx.

We're attempting to support all apis as they are added and modified but this client is likely not 100% complete at any time.

Some apis are http (for instance the write) and some are gRPC. See the individual client modules for details.

Example: Using the Write Client

To write to IOx, create a connection and a write client, and then send line protocol. Please see the example on 'Client' struct that will work when running against all-in-one mode.