druid/docs/design/peons.md
sthetland 6ae8059c09
cleaning up and fixing links (#10528)
* cleaning up and fixing links

* reverting local link

* Update indexer.md

* link checking

* Fixing one more stale link for PostgreSQL
2020-12-17 13:37:43 -08:00

1.7 KiB

id title
peons Peons

Configuration

For Apache Druid Peon Configuration, see Peon Query Configuration and Additional Peon Configuration.

HTTP endpoints

For a list of API endpoints supported by the Peon, please see the Peon API reference.

Peons run a single task in a single JVM. MiddleManager is responsible for creating Peons for running tasks. Peons should rarely (if ever for testing purposes) be run on their own.

Running

The Peon should very rarely ever be run independent of the MiddleManager unless for development purposes.

org.apache.druid.cli.Main internal peon <task_file> <status_file>

The task file contains the task JSON object. The status file indicates where the task status will be output.