This commit is contained in:
fjy 2014-07-16 15:20:20 -07:00
parent 0f3c474dee
commit bf71d079f3
2 changed files with 2 additions and 2 deletions

View File

@ -111,7 +111,7 @@ public class CliPeon extends GuiceRunnable
binder, binder,
"druid.indexer.task.chathandler.type", "druid.indexer.task.chathandler.type",
Key.get(ChatHandlerProvider.class), Key.get(ChatHandlerProvider.class),
Key.get(NoopChatHandlerProvider.class) Key.get(ServiceAnnouncingChatHandlerProvider.class)
); );
final MapBinder<String, ChatHandlerProvider> handlerProviderBinder = PolyBind.optionBinder( final MapBinder<String, ChatHandlerProvider> handlerProviderBinder = PolyBind.optionBinder(
binder, Key.get(ChatHandlerProvider.class) binder, Key.get(ChatHandlerProvider.class)

View File

@ -65,7 +65,7 @@ public class RealtimeModule implements Module
binder, binder,
"druid.realtime.chathandler.type", "druid.realtime.chathandler.type",
Key.get(ChatHandlerProvider.class), Key.get(ChatHandlerProvider.class),
Key.get(NoopChatHandlerProvider.class) Key.get(ServiceAnnouncingChatHandlerProvider.class)
); );
final MapBinder<String, ChatHandlerProvider> handlerProviderBinder = PolyBind.optionBinder( final MapBinder<String, ChatHandlerProvider> handlerProviderBinder = PolyBind.optionBinder(
binder, Key.get(ChatHandlerProvider.class) binder, Key.get(ChatHandlerProvider.class)