Skip to content

Commit

Permalink
make "announce" the chathandler default in realtime node,
Browse files Browse the repository at this point in the history
remove doc references to chathandler type "announce" since it is the default now,
  • Loading branch information
rasahner committed Jul 27, 2015
1 parent 27cd773 commit 4801de6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion docs/content/configuration/indexing-service.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,6 @@ Additional peon configs include:
|`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.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:

Expand Down
5 changes: 2 additions & 3 deletions docs/content/ingestion/firehose.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,7 @@ This can be used to merge data from more than one firehoses.


#### EventReceiverFirehose
EventReceiverFirehoseFactory can be used to ingest events using http endpoint.
when using this firehose `druid.realtime.chathandler.type` needs to be set to `announce` in runtime.properties.
EventReceiverFirehoseFactory can be used to ingest events using an http endpoint.

```json
{
Expand All @@ -188,7 +187,7 @@ when using this firehose `druid.realtime.chathandler.type` needs to be set to `a
"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/`

|property|description|required?|
Expand Down
2 changes: 1 addition & 1 deletion services/src/main/java/io/druid/guice/RealtimeModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public void configure(Binder binder)
binder,
"druid.realtime.chathandler.type",
Key.get(ChatHandlerProvider.class),
Key.get(NoopChatHandlerProvider.class)
Key.get(ServiceAnnouncingChatHandlerProvider.class)
);
final MapBinder<String, ChatHandlerProvider> handlerProviderBinder = PolyBind.optionBinder(
binder, Key.get(ChatHandlerProvider.class)
Expand Down

0 comments on commit 4801de6

Please sign in to comment.