Class WriteOptionsReactive

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

@ThreadSafe public final class WriteOptionsReactive extends Object implements WriteApi.RetryOptions
The configuration for WriteReactiveApi.

Example:

     WriteOptionsReactive writeOptions = WriteOptionsReactive.builder()
                 .batchSize(10_000)
                 .flushInterval(500)
                 .jitterInterval(1_000)
                 .retryInterval(2_000)
                 .maxRetries(5)
                 .maxRetryDelay(250_123)
                 .maxRetryTime(500_000)
                 .exponentialBase(2)
                 .computationScheduler(Schedulers.newThread())
                 .build();
 
Author:
Jakub Bednar (05/08/2021 9:13)