Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify write() methods for use cases writing all points to same database and retention policy #327

Merged
merged 3 commits into from
Jun 13, 2017
Merged

Conversation

andyfeller
Copy link

@andyfeller andyfeller commented May 30, 2017

More often than not, applications are going to write points to a specific database and retention policy, however it's tedious passing around configuration for writes. Instead there should be simpler write() methods for non-BatchPoints calls that uses defaults set at the client layer instead of the usage statement.

Andy Feller added 3 commits May 30, 2017 11:34
- Added optional state to InfluxDB interface and implementation to provide database, retention policy, and consistency
- Added new write() methods based on non-batch point calls to remove need to specify database, retention policy, and consistency
- Added tests around new write() methods
- Added .m2 directory to git ignore
@andyfeller
Copy link
Author

Could use a little help identifying the checkstyle errors as helper script output isn't super helpful.

@majst01 majst01 added this to the 2.7 milestone May 30, 2017
@majst01 majst01 merged commit bfe020f into influxdata:master Jun 13, 2017
majst01 added a commit that referenced this pull request Jun 13, 2017
majst01 added a commit that referenced this pull request Jun 13, 2017
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.

None yet

2 participants