mirror of https://github.com/apache/druid.git
cleaning DruidProcessingConfig bindings (#14927)
This commit is contained in:
parent
680669fd3a
commit
dea9d4f1a7
|
@ -46,7 +46,6 @@ import org.apache.druid.query.DruidProcessingConfig;
|
|||
import org.apache.druid.query.ExecutorServiceMonitor;
|
||||
import org.apache.druid.query.ForwardingQueryProcessingPool;
|
||||
import org.apache.druid.query.QueryProcessingPool;
|
||||
import org.apache.druid.segment.column.ColumnConfig;
|
||||
import org.apache.druid.server.metrics.MetricsModule;
|
||||
import org.apache.druid.utils.JvmUtils;
|
||||
|
||||
|
@ -70,7 +69,6 @@ public class BrokerProcessingModule implements Module
|
|||
{
|
||||
JsonConfigProvider.bind(binder, "druid.processing.merge", BrokerParallelMergeConfig.class);
|
||||
JsonConfigProvider.bind(binder, "druid.processing", DruidProcessingConfig.class);
|
||||
binder.bind(ColumnConfig.class).to(DruidProcessingConfig.class);
|
||||
MetricsModule.register(binder, ExecutorServiceMonitor.class);
|
||||
}
|
||||
|
||||
|
|
|
@ -46,7 +46,6 @@ import org.apache.druid.query.ExecutorServiceMonitor;
|
|||
import org.apache.druid.query.MetricsEmittingQueryProcessingPool;
|
||||
import org.apache.druid.query.PrioritizedExecutorService;
|
||||
import org.apache.druid.query.QueryProcessingPool;
|
||||
import org.apache.druid.segment.column.ColumnConfig;
|
||||
import org.apache.druid.server.metrics.MetricsModule;
|
||||
import org.apache.druid.utils.JvmUtils;
|
||||
|
||||
|
@ -64,7 +63,6 @@ public class DruidProcessingModule implements Module
|
|||
public void configure(Binder binder)
|
||||
{
|
||||
JsonConfigProvider.bind(binder, "druid.processing", DruidProcessingConfig.class);
|
||||
binder.bind(ColumnConfig.class).to(DruidProcessingConfig.class);
|
||||
MetricsModule.register(binder, ExecutorServiceMonitor.class);
|
||||
}
|
||||
|
||||
|
|
|
@ -34,7 +34,6 @@ import org.apache.druid.query.DruidProcessingConfig;
|
|||
import org.apache.druid.query.ExecutorServiceMonitor;
|
||||
import org.apache.druid.query.ForwardingQueryProcessingPool;
|
||||
import org.apache.druid.query.QueryProcessingPool;
|
||||
import org.apache.druid.segment.column.ColumnConfig;
|
||||
import org.apache.druid.server.metrics.MetricsModule;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
|
@ -54,7 +53,6 @@ public class RouterProcessingModule implements Module
|
|||
public void configure(Binder binder)
|
||||
{
|
||||
JsonConfigProvider.bind(binder, "druid.processing", DruidProcessingConfig.class);
|
||||
binder.bind(ColumnConfig.class).to(DruidProcessingConfig.class);
|
||||
MetricsModule.register(binder, ExecutorServiceMonitor.class);
|
||||
}
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ public class StorageNodeModule implements Module
|
|||
JsonConfigProvider.bind(binder, "druid.segmentCache", SegmentLoaderConfig.class);
|
||||
bindLocationSelectorStrategy(binder);
|
||||
binder.bind(ServerTypeConfig.class).toProvider(Providers.of(null));
|
||||
binder.bind(ColumnConfig.class).to(DruidProcessingConfig.class);
|
||||
binder.bind(ColumnConfig.class).to(DruidProcessingConfig.class).in(LazySingleton.class);
|
||||
}
|
||||
|
||||
@Provides
|
||||
|
|
Loading…
Reference in New Issue