You can start the Gearpump service in a single JVM(local mode), or in a distributed cluster(cluster mode). To start the cluster in local mode, you can use the local /local.bat helper scripts, it is very useful for developing or troubleshooting.
Below are the steps to start a Gearpump service in Local mode:
To get your Gearpump service running in local mode, you first need to have a Gearpump distribution binary ready. Please follow this guide to have the binary.
You can start a local mode cluster in single line
## start the master and 2 workers in single JVM. The master will listen on 3000 ## you can Ctrl+C to kill the local cluster after you finished the startup tutorial. bin/local
NOTE: You may need to execute
chmod +x bin/* in shell to make the script file
NOTE: You can change the default port by changing config
NOTE: Change the working directory. Log files by default will be generated under current working directory. So, please “cd” to required working directly before running the shell commands.
NOTE: Run as Daemon. You can run it as a background process. For example, use nohup on Linux.
Open another shell,