mirror of
https://github.com/apache/druid.git
synced 2025-02-17 07:25:02 +00:00
Merge pull request #2189 from pjain1/fix_realtime_example
add ChatHandlerServerModule to realtime example
This commit is contained in:
commit
43e7523474
@ -32,6 +32,7 @@ import io.druid.guice.LazySingleton;
|
|||||||
import io.druid.guice.RealtimeModule;
|
import io.druid.guice.RealtimeModule;
|
||||||
import io.druid.segment.loading.DataSegmentPusher;
|
import io.druid.segment.loading.DataSegmentPusher;
|
||||||
import io.druid.server.coordination.DataSegmentAnnouncer;
|
import io.druid.server.coordination.DataSegmentAnnouncer;
|
||||||
|
import io.druid.server.initialization.jetty.ChatHandlerServerModule;
|
||||||
import io.druid.timeline.DataSegment;
|
import io.druid.timeline.DataSegment;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
@ -72,7 +73,8 @@ public class CliRealtimeExample extends ServerRunnable
|
|||||||
binder.bind(InventoryView.class).to(NoopInventoryView.class).in(LazySingleton.class);
|
binder.bind(InventoryView.class).to(NoopInventoryView.class).in(LazySingleton.class);
|
||||||
binder.bind(ServerView.class).to(NoopServerView.class).in(LazySingleton.class);
|
binder.bind(ServerView.class).to(NoopServerView.class).in(LazySingleton.class);
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
new ChatHandlerServerModule()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user