upgrade
This section lists the Corda CLI
A command line tool that supports various Corda-related tasks, including Corda Package Installer (CPI) creation and Corda cluster management.
upgrade
sub-commands and arguments. Use these commands to migrate data as part of the platform upgrade process from version 5.2 to 5.2.1.
Argument | Description |
---|---|
migrate-data-5-2-1 | Reads records from Kafka and generates SQL for persisting them to the cluster database. |
migrate-data-5-2-1
Argument | Description |
---|---|
-b, --bootstrap-server | The address of the bootstrap server. |
--kafka-config | The path to the Kafka configuration file. |
-n, --name-prefix | The name prefix for topics. |
--timeout | Timeout, in milliseconds, to read from Kafka. If not specified, defaults to 3000. |
-l, --location | The directory to write all files to. |
-t, --target | The target address of the REST endpoint, for example, https://host:port . |
-u, --user | The REST user name. |
-p, --password | The REST password. |
-pv, --protocol-version | Minimum protocol version. If not specified, defaults to 1. |
-y, --yield | The duration, in seconds, before the REST connection becomes available. If not specified, defaults to 10 seconds. |
-k, --insecure | Allows insecure server connections with SSL. If not specified, defaults to false . |
corda-cli.sh upgrade migrate-data-5-2-1 -b <BOOTSTRAP-SERVERS> --kafka-config <CLIENT-PROPERTIES-FILE> -t <REST-URL> -u <USER> -p <PASSWORD>
corda-cli.cmd upgrade migrate-data-5-2-1 -b <BOOTSTRAP-SERVERS> --kafka-config <CLIENT-PROPERTIES-FILE> -t <REST-URL> -u <USER> -p <PASSWORD>
Was this page helpful?
Thanks for your feedback!
Chat with us
Chat with us on our #docs channel on slack. You can also join a lot of other slack channels there and have access to 1-on-1 communication with members of the R3 team and the online community.
Propose documentation improvements directly
Help us to improve the docs by contributing directly. It's simple - just fork this repository and raise a PR of your own - R3's Technical Writers will review it and apply the relevant suggestions.
We're sorry this page wasn't helpful. Let us know how we can make it better!
Chat with us
Chat with us on our #docs channel on slack. You can also join a lot of other slack channels there and have access to 1-on-1 communication with members of the R3 team and the online community.
Create an issue
Create a new GitHub issue in this repository - submit technical feedback, draw attention to a potential documentation bug, or share ideas for improvement and general feedback.
Propose documentation improvements directly
Help us to improve the docs by contributing directly. It's simple - just fork this repository and raise a PR of your own - R3's Technical Writers will review it and apply the relevant suggestions.