How to use Optimus Datastore in my service?
Last updated
Last updated
Adding Optimus datastore to the existing deployed service is similar to adding any new component to the existing deployed service. Following are the steps:
Update your service definition & provisioning with the right details. The sample of the same can be found here:
RDS
Kafka
Add the component by using odin's . One sample command of the command can be as follow. The new component details have to be passed in a file content is similar to how the component details and provisioning details of the same is passed during add_component operation. A sample file can be found . Command for example:
Once the component addition activity is completed, optimus datastore will be ready for operation via Odin. Currently available operations via Optimus datastores can be found here -
RDS:
Kafka:
Adding Optimus datastores in a new service is no different than adding any other component to a new service and deploying the same. The following steps to be followed:
Define the service definition & provisioning file and include the Optimus datastore within it. A sample file can be found in the link below:
RDS
Aerospike
Kafka
Release the service as per the process mentioned here - . Do not forget to verify the service release by running odin list service
command.
Deploy the service as mentioned here - .
Once the deployment is completed, along with any other components, Optimus datastore is also available for operation. Currently available operations via Optimus datastores can be found here
RDS:
Aerospike:
Kafka:
List of exposed configs for RDS can be found
List of exposed configs for Kafka can be found .
List of exposed configs for RDS can be found
List of exposed configs for Aerospike can be found
List of exposed configs for Kafka can be found .