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-cli
directory
cd venice-cli
- Install packages
npm install
ornpm 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 |
install
will allow you to select which Venice components to installlogs
will ask which Venice components you want to monitor. Use arrow keys to navigate the output.CTRL+C
to exitpsql
will require your username and database namerestart
will 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+C
to exit