Class SimulateIngestService

java.lang.Object
org.elasticsearch.ingest.IngestService
org.elasticsearch.ingest.SimulateIngestService
All Implemented Interfaces:
ClusterStateApplier, ReportingService<IngestInfo>

public class SimulateIngestService extends IngestService
This is an implementation of IngestService that allows us to substitute pipeline definitions so that users can simulate ingest using pipelines that they define on the fly.
  • Constructor Details

  • Method Details

    • getPipeline

      public Pipeline getPipeline(String pipelineId)
      This method returns the Pipeline for the given pipelineId. If a substitute definition of the pipeline has been defined for the current simulate, then that pipeline is returned. Otherwise, the pipeline stored in the cluster state is returned.
      Overrides:
      getPipeline in class IngestService