Class PipelineSettings
java.lang.Object
co.elastic.clients.elasticsearch.logstash.PipelineSettings
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<PipelineSettings>
Json deserializer forPipelineSettings
-
Method Summary
Modifier and TypeMethodDescriptionstatic PipelineSettings
final int
Required - When creating pipeline event batches, how long in milliseconds to wait for each event before dispatching an undersized batch to pipeline workers.final int
Required - The maximum number of events an individual worker thread will collect from inputs before attempting to execute its filters and outputs.final int
Required - The number of workers that will, in parallel, execute the filter and output stages of the pipeline.final int
Required - The maximum number of written events before forcing a checkpoint when persistent queues are enabled (queue.type: persisted
).final int
Required - The total capacity of the queue (queue.type: persisted
) in number of bytes.final String
Required - The total capacity of the queue (queue.type: persisted
) in terms of units of bytes.final String
Required - The internal queuing model to use for event buffering.void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forPipelineSettings
-
-
Method Details
-
of
public static PipelineSettings of(Function<PipelineSettings.Builder, ObjectBuilder<PipelineSettings>> fn) -
pipelineWorkers
public final int pipelineWorkers()Required - The number of workers that will, in parallel, execute the filter and output stages of the pipeline.API name:
pipeline.workers
-
pipelineBatchSize
public final int 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
public final int 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
-
queueMaxBytesNumber
public final int queueMaxBytesNumber()Required - The total capacity of the queue (queue.type: persisted
) in number of bytes.API name:
queue.max_bytes.number
-
queueMaxBytesUnits
Required - The total capacity of the queue (queue.type: persisted
) in terms of units of bytes.API name:
queue.max_bytes.units
-
queueCheckpointWrites
public final int 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
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupPipelineSettingsDeserializer
protected static void setupPipelineSettingsDeserializer(ObjectDeserializer<PipelineSettings.Builder> op)
-