Search in sources :

Example 1 with IndexingServiceTaskLogsModule

use of org.apache.druid.guice.IndexingServiceTaskLogsModule in project druid by druid-io.

the class ResetCluster method getModules.

@Override
protected List<? extends Module> getModules() {
    return ImmutableList.of(// See https://github.com/apache/druid/pull/4429#discussion_r123603498
    new DruidProcessingModule(), new QueryableModule(), new QueryRunnerFactoryModule(), binder -> {
        JsonConfigProvider.bindInstance(binder, Key.get(DruidNode.class, Self.class), new DruidNode("tools", "localhost", false, -1, null, true, false));
        JsonConfigProvider.bind(binder, "druid.indexer.task", TaskConfig.class);
    }, new IndexingServiceTaskLogsModule());
}
Also used : QueryableModule(org.apache.druid.guice.QueryableModule) DruidProcessingModule(org.apache.druid.guice.DruidProcessingModule) QueryRunnerFactoryModule(org.apache.druid.guice.QueryRunnerFactoryModule) DruidNode(org.apache.druid.server.DruidNode) Self(org.apache.druid.guice.annotations.Self) IndexingServiceTaskLogsModule(org.apache.druid.guice.IndexingServiceTaskLogsModule)

Aggregations

DruidProcessingModule (org.apache.druid.guice.DruidProcessingModule)1 IndexingServiceTaskLogsModule (org.apache.druid.guice.IndexingServiceTaskLogsModule)1 QueryRunnerFactoryModule (org.apache.druid.guice.QueryRunnerFactoryModule)1 QueryableModule (org.apache.druid.guice.QueryableModule)1 Self (org.apache.druid.guice.annotations.Self)1 DruidNode (org.apache.druid.server.DruidNode)1