mirror of https://github.com/apache/druid.git
Merge pull request #1552 from rasahner/doc-chathandler
remove references to chathandler type "announce"; it's the default
This commit is contained in:
commit
5f1f4424eb
|
@ -271,7 +271,6 @@ Additional peon configs include:
|
||||||
|`druid.indexer.task.hadoopWorkingPath`|Temporary working directory for Hadoop tasks.|/tmp/druid-indexing|
|
|`druid.indexer.task.hadoopWorkingPath`|Temporary working directory for Hadoop tasks.|/tmp/druid-indexing|
|
||||||
|`druid.indexer.task.defaultRowFlushBoundary`|Highest row count before persisting to disk. Used for indexing generating tasks.|50000|
|
|`druid.indexer.task.defaultRowFlushBoundary`|Highest row count before persisting to disk. Used for indexing generating tasks.|50000|
|
||||||
|`druid.indexer.task.defaultHadoopCoordinates`|Hadoop version to use with HadoopIndexTasks that do not request a particular version.|org.apache.hadoop:hadoop-client:2.3.0|
|
|`druid.indexer.task.defaultHadoopCoordinates`|Hadoop version to use with HadoopIndexTasks that do not request a particular version.|org.apache.hadoop:hadoop-client:2.3.0|
|
||||||
|`druid.indexer.task.chathandler.type`|Choices are "noop" and "announce". Certain tasks will use service discovery to announce an HTTP endpoint that events can be posted to.|noop|
|
|
||||||
|
|
||||||
If the peon is running in remote mode, there must be an overlord up and running. Peons in remote mode can set the following configurations:
|
If the peon is running in remote mode, there must be an overlord up and running. Peons in remote mode can set the following configurations:
|
||||||
|
|
||||||
|
|
|
@ -178,8 +178,7 @@ This can be used to merge data from more than one firehoses.
|
||||||
|
|
||||||
|
|
||||||
#### EventReceiverFirehose
|
#### EventReceiverFirehose
|
||||||
EventReceiverFirehoseFactory can be used to ingest events using http endpoint.
|
EventReceiverFirehoseFactory can be used to ingest events using an http endpoint.
|
||||||
when using this firehose `druid.realtime.chathandler.type` needs to be set to `announce` in runtime.properties.
|
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
|
@ -188,7 +187,7 @@ when using this firehose `druid.realtime.chathandler.type` needs to be set to `a
|
||||||
"bufferSize": 10000
|
"bufferSize": 10000
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
when using above firehose the events can be sent via submitting a POST request to the http endpoint -
|
When using this firehose, events can be sent by submitting a POST request to the http endpoint -
|
||||||
`http://<peonHost>:<port>/druid/worker/v1/chat/<eventReceiverServiceName>/push-events/`
|
`http://<peonHost>:<port>/druid/worker/v1/chat/<eventReceiverServiceName>/push-events/`
|
||||||
|
|
||||||
|property|description|required?|
|
|property|description|required?|
|
||||||
|
|
|
@ -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