Starting a cluster
Locally
The easiest way to try out Arroyo is to run it locally. Currently Linux and MacOS are well supported. For MacOS, we provide a Homebrew tap that can be used to install Arroyo:arroyo
command:
With Docker
Arroyo can also run in Docker. Note that by default, a docker cluster will not persist the set of pipelines and tables.If you get an error likeThen you have another service running on that port. Either stop that service, or rebind to a different port with
-p 5215:5115
for example.Running a single pipeline
In addition to the multi-tenant session cluster mode, Arroyo can also be configured to run a single pipeline via the CLI as a pipeline cluster via thearroyo run
subcommand:
arroyo run
will read a SQL query from STDIN, or the query can be provided
as an argument.
See the pipeline cluster docs for more details.