Class WriteOptions

java.lang.Object
com.influxdb.client.WriteOptions
All Implemented Interfaces:
WriteApi.RetryOptions

@ThreadSafe public final class WriteOptions extends Object implements WriteApi.RetryOptions
WriteOptions are used to configure writes the data point into InfluxDB 2.x.

The default setting use the batching configured to (consistent with Telegraf):

  • batchSize = 1000
  • flushInterval = 1000 ms
  • retryInterval = 5000 ms
  • jitterInterval = 0
  • bufferLimit = 10_000

The default backpressure strategy is BackpressureOverflowStrategy.DROP_OLDEST.

Author:
Jakub Bednar (bednar@github) (21/09/2018 10:11)