Requirements:
how to download and install Node.js and npm
Steps:
- Clone this repository
git clone [email protected]:venice-framework/venice-cli.git
- Navigate into the newly installed
venice-clidirectory
cd venice-cli
- Install packages
npm installornpm i
- Create a symbolic link
sudo npm link
Or use this single command that combines the four steps above:
git clone [email protected]:venice-framework/venice-cli.git && cd venice-cli && npm install && sudo npm link
Now you're ready to use the CLI from any console interface! (It shouldn't be limited to this directory.)
Issue the following commands to use the Venice framework
Syntax: venice COMMAND
| Command | Alias | Function |
|---|---|---|
| down | shut down the venice pipeline | |
| install | -i | download and install a venice component from GitHub |
| ksql | -k | launch the KSQL CLI |
| logs | -l | view logs of venice components |
| psql | -p | launch the postgreSQL CLI |
| restart | -r | restart venice components |
| schemas | -s | view schemas saved in the Schema Registry |
| status | -st | view the status of venice components |
| up | launch the venice pipeline |
installwill allow you to select which Venice components to installlogswill ask which Venice components you want to monitor. Use arrow keys to navigate the output.CTRL+Cto exitpsqlwill require your username and database namerestartwill prompt you to select which Venice components to restart
| Command | Alias | Function |
|---|---|---|
| connectors | -c | view existing connectors and their status |
| connectors new | -c new | create a new connection to an existing data sink |
| connectors delete | -c delete | delete an existing connection |
| Command | Alias | Function |
|---|---|---|
| topics | -t | view a list of the current topics |
| topics show | -t show | view the event stream from an existing topic |
topics show- useCTRL+Cto exit