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