add ChatHandlerServerModule to realtime example

This commit is contained in:
Parag Jain 2015-12-22 05:40:54 -06:00
parent 7b5fd76058
commit 807cd6fa83
1 changed files with 3 additions and 1 deletions

View File

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