Class FlushingPlumberSchool
- java.lang.Object
-
- org.apache.druid.segment.realtime.plumber.RealtimePlumberSchool
-
- org.apache.druid.segment.realtime.plumber.FlushingPlumberSchool
-
- All Implemented Interfaces:
PlumberSchool
public class FlushingPlumberSchool extends RealtimePlumberSchool
This plumber just drops segments at the end of a flush duration instead of handing them off. It is only useful if you want to run a real time node without the rest of the Druid cluster.
-
-
Constructor Summary
Constructors Constructor Description FlushingPlumberSchool(org.joda.time.Duration flushDuration, org.apache.druid.java.util.emitter.service.ServiceEmitter emitter, org.apache.druid.query.QueryRunnerFactoryConglomerate conglomerate, DataSegmentAnnouncer segmentAnnouncer, org.apache.druid.query.QueryProcessingPool queryProcessingPool, org.apache.druid.segment.join.JoinableFactory joinableFactory, org.apache.druid.segment.IndexMergerV9 indexMergerV9, org.apache.druid.segment.IndexIO indexIO, Cache cache, CacheConfig cacheConfig, CachePopulatorStats cachePopulatorStats, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlumberfindPlumber(DataSchema schema, RealtimeTuningConfig config, FireDepartmentMetrics metrics)Creates a Plumber
-
-
-
Constructor Detail
-
FlushingPlumberSchool
public FlushingPlumberSchool(org.joda.time.Duration flushDuration, org.apache.druid.java.util.emitter.service.ServiceEmitter emitter, org.apache.druid.query.QueryRunnerFactoryConglomerate conglomerate, DataSegmentAnnouncer segmentAnnouncer, org.apache.druid.query.QueryProcessingPool queryProcessingPool, org.apache.druid.segment.join.JoinableFactory joinableFactory, org.apache.druid.segment.IndexMergerV9 indexMergerV9, org.apache.druid.segment.IndexIO indexIO, Cache cache, CacheConfig cacheConfig, CachePopulatorStats cachePopulatorStats, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Detail
-
findPlumber
public Plumber findPlumber(DataSchema schema, RealtimeTuningConfig config, FireDepartmentMetrics metrics)
Description copied from interface:PlumberSchoolCreates a Plumber- Specified by:
findPlumberin interfacePlumberSchool- Overrides:
findPlumberin classRealtimePlumberSchool- Returns:
- returns a plumber
-
-