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

feat: add implicit batching to writeAPIBlocking #350

Merged
merged 2 commits into from
Aug 25, 2022

Conversation

vlastahajek
Copy link
Contributor

Closes #336

Proposed Changes

Added support for implicit batching to WriteAPIBlocking. It's off by default, enabled by EnableBatching().

Checklist

  • CHANGELOG.md updated
  • Rebased/mergeable
  • A test has been added if appropriate
  • Tests pass
  • Commit messages are in semantic format

@vlastahajek vlastahajek added this to the v2.10.0 milestone Aug 25, 2022
@vlastahajek vlastahajek marked this pull request as draft August 25, 2022 12:10
@vlastahajek vlastahajek marked this pull request as ready for review August 25, 2022 12:30
@vlastahajek vlastahajek force-pushed the feat/syncwrite_batching branch from 00fe7bf to a9c1e37 Compare August 25, 2022 13:04
@vlastahajek vlastahajek requested a review from tomklapka August 25, 2022 13:43
@vlastahajek vlastahajek merged commit 81316b4 into influxdata:master Aug 25, 2022
@vlastahajek vlastahajek deleted the feat/syncwrite_batching branch August 25, 2022 13:54
danielorbach added a commit to danielorbach/influxdb-client-go that referenced this pull request Oct 19, 2022
Pull Request influxdata#350 (commit a9c1e37)
introduced `Flush()` and `Write()` functions blindly returning the
result of a `func (Service) WriteBatch(...) *http2.Error`.
This causes the returned error to always evaluate as `non-nil`.

Fixes influxdata#360
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.

Synchronous API with batching support
2 participants