-
Notifications
You must be signed in to change notification settings - Fork 478
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
Write consistency can be set for batching mode #293
Write consistency can be set for batching mode #293
Conversation
import java.util.concurrent.TimeUnit; | ||
import java.util.function.Consumer; | ||
|
||
import com.google.common.util.concurrent.Uninterruptibles; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please do not reorg imports.
Needs rebase. |
Codecov Report
@@ Coverage Diff @@
## master #293 +/- ##
============================================
+ Coverage 78.65% 78.88% +0.23%
- Complexity 133 134 +1
============================================
Files 11 11
Lines 712 720 +8
Branches 77 77
============================================
+ Hits 560 568 +8
Misses 109 109
Partials 43 43
Continue to review full report at Codecov.
|
e94a512
to
cb7f2ef
Compare
cb7f2ef
to
76347c0
Compare
Can I modify to override those parameters in InfluxDBImpl.java file? |
Duplicate of #385 |
The consistently level can be configured for asynchronous writes. The default was not changed and is still ONE. It can be explicitly set via InfluxDB.enableBatch(int, int, TimeUnit, ConsistencyLevel). See #289 for more context.