Class PipelineSettings.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<PipelineSettings.Builder>
co.elastic.clients.elasticsearch.logstash.PipelineSettings.Builder
- All Implemented Interfaces:
WithJson<PipelineSettings.Builder>,ObjectBuilder<PipelineSettings>
- Enclosing class:
- PipelineSettings
public static class PipelineSettings.Builder
extends WithJsonObjectBuilderBase<PipelineSettings.Builder>
implements ObjectBuilder<PipelineSettings>
Builder for
PipelineSettings.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aPipelineSettings.final PipelineSettings.BuilderpipelineBatchDelay(int value) Required - When creating pipeline event batches, how long in milliseconds to wait for each event before dispatching an undersized batch to pipeline workers.final PipelineSettings.BuilderpipelineBatchSize(int value) Required - The maximum number of events an individual worker thread will collect from inputs before attempting to execute its filters and outputs.final PipelineSettings.BuilderpipelineWorkers(int value) Required - The number of workers that will, in parallel, execute the filter and output stages of the pipeline.final PipelineSettings.BuilderqueueCheckpointWrites(int value) Required - The maximum number of written events before forcing a checkpoint when persistent queues are enabled (queue.type: persisted).final PipelineSettings.BuilderqueueMaxBytes(String value) Required - The total capacity of the queue (queue.type: persisted) in number of bytes.final PipelineSettings.BuilderRequired - The internal queuing model to use for event buffering.protected PipelineSettings.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
pipelineWorkers
Required - The number of workers that will, in parallel, execute the filter and output stages of the pipeline.API name:
pipeline.workers -
pipelineBatchSize
Required - The maximum number of events an individual worker thread will collect from inputs before attempting to execute its filters and outputs.API name:
pipeline.batch.size -
pipelineBatchDelay
Required - When creating pipeline event batches, how long in milliseconds to wait for each event before dispatching an undersized batch to pipeline workers.API name:
pipeline.batch.delay -
queueType
Required - The internal queuing model to use for event buffering.API name:
queue.type -
queueMaxBytes
Required - The total capacity of the queue (queue.type: persisted) in number of bytes.API name:
queue.max_bytes -
queueCheckpointWrites
Required - The maximum number of written events before forcing a checkpoint when persistent queues are enabled (queue.type: persisted).API name:
queue.checkpoint.writes -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<PipelineSettings.Builder>
-
build
Builds aPipelineSettings.- Specified by:
buildin interfaceObjectBuilder<PipelineSettings>- Throws:
NullPointerException- if some of the required fields are null.
-