diff --git a/services/src/main/java/io/druid/cli/CliRealtimeExample.java b/services/src/main/java/io/druid/cli/CliRealtimeExample.java index f29ba8de864..a4b51777d08 100644 --- a/services/src/main/java/io/druid/cli/CliRealtimeExample.java +++ b/services/src/main/java/io/druid/cli/CliRealtimeExample.java @@ -32,6 +32,7 @@ import io.druid.guice.LazySingleton; import io.druid.guice.RealtimeModule; import io.druid.segment.loading.DataSegmentPusher; import io.druid.server.coordination.DataSegmentAnnouncer; +import io.druid.server.initialization.jetty.ChatHandlerServerModule; import io.druid.timeline.DataSegment; 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(ServerView.class).to(NoopServerView.class).in(LazySingleton.class); } - } + }, + new ChatHandlerServerModule() ); }