Class CliIndexerServerModule

java.lang.Object
org.apache.druid.server.initialization.jetty.CliIndexerServerModule
All Implemented Interfaces:
com.google.inject.Module

public class CliIndexerServerModule extends Object implements com.google.inject.Module
  • Constructor Details

    • CliIndexerServerModule

      public CliIndexerServerModule(Properties properties)
  • Method Details

    • configure

      public void configure(com.google.inject.Binder binder)
      Specified by:
      configure in interface com.google.inject.Module
    • taskIdResponseHeaderFilterHolderBuilder

      @Provides public TaskIdResponseHeaderFilterHolder taskIdResponseHeaderFilterHolderBuilder(DataSourceTaskIdHolder taskIdHolder)
    • getServer

      @Provides public org.eclipse.jetty.server.Server getServer(com.google.inject.Injector injector, Lifecycle lifecycle, DruidNode node, ServerConfig config, TLSServerConfig TLSServerConfig)
    • makeAdjustedServerConfig

      public ServerConfig makeAdjustedServerConfig(ServerConfig oldConfig)
      Adjusts the ServerConfig such that we double the number of configured HTTP threads, with one half allocated using QoS to chat handler requests, and the other half for other requests. 2 dedicated threads are added for lookup listening, which also has a QoS filter applied.