cleaning DruidProcessingConfig bindings (#14927)

This commit is contained in:
Clint Wylie 2023-08-30 22:35:08 -07:00 committed by GitHub
parent 680669fd3a
commit dea9d4f1a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 1 additions and 7 deletions

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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