Skip to content

Conversation

@pabigot
Copy link

@pabigot pabigot commented Jan 1, 2022

The current influxdb-client-go provides functions to convert points to line protocol, but it doesn't actually use them, instead delegating to this package. While reviewing how to do the conversion I found that the default behavior of the encoder is not fully specified. This PR clarifies the documentation.

@pabigot pabigot force-pushed the pabigot/20220101a branch from 8c337eb to 1f6c6e5 Compare January 1, 2022 16:04
@pabigot
Copy link
Author

pabigot commented Jan 1, 2022

Also clarified that this produces records that are terminated by a newline; a strict reading of the specification would allow for newlines appearing only as separators, which if produced would complicate combining encoded batches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant