mirror of https://github.com/apache/druid.git
fix #636
This commit is contained in:
parent
0f3c474dee
commit
bf71d079f3
|
@ -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)
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue