Class PipelineSettings
java.lang.Object
co.elastic.clients.elasticsearch.logstash.PipelineSettings
- All Implemented Interfaces:
- JsonpSerializable
- See Also:
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<PipelineSettings>Json deserializer forPipelineSettings
- 
Method SummaryModifier 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 StringRequired - The total capacity of the queue (queue.type: persisted) in number 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- 
_DESERIALIZERJson deserializer forPipelineSettings
 
- 
- 
Method Details- 
ofpublic static PipelineSettings of(Function<PipelineSettings.Builder, ObjectBuilder<PipelineSettings>> fn) 
- 
pipelineWorkerspublic 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
- 
pipelineBatchSizepublic 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
- 
pipelineBatchDelaypublic 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
- 
queueTypeRequired - The internal queuing model to use for event buffering.API name: queue.type
- 
queueMaxBytesRequired - The total capacity of the queue (queue.type: persisted) in number of bytes.API name: queue.max_bytes
- 
queueCheckpointWritespublic 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
- 
serializeSerialize this object to JSON.- Specified by:
- serializein interface- JsonpSerializable
 
- 
serializeInternal
- 
toString
- 
setupPipelineSettingsDeserializerprotected static void setupPipelineSettingsDeserializer(ObjectDeserializer<PipelineSettings.Builder> op) 
 
-