ConductR sandbox is a solution for managing Lightbend Reactive Platform applications across a cluster of machines. It is reactive from the ground up thus enabling operations to provide the resiliency required to unleash the full benefits of the Lightbend Reactive Platform in their organization.
ConductR is suitable for running microservices in a cluster. ConductR comes with a sandbox where we can test our project locally.
Now we will see how to run your project in the conduct sandbox.
Install conduct-cli which is used to communicate with the ConductR cluster:
sudo pip3 install conductr-cli
To use sbt-conductr for your project add the plugin to your project/plugins.sbt:
addSbtPlugin(“com.lightbend.conductr” % “sbt-conductr” % “2.3.0”)
Enter into sbt command terminal and then follow these steps:
sandbox run 2.1.12 -n 3 -–feature visualization
The above command will start a virtual sandbox environment in a local system.
conduct info will give you the conductR cluster info.
This will create the bundle(in zip format) that will be later loaded to the conductR sandbox.
conduct load <click tab>
conduct run <project-impl>
check your conductR to see the running services:
conduct logs -n 100 <bundle-id>
conduct stop <project-impl>
conduct unload <project-impl>
ConductR also provides pre-configured bundles for Cassandra, Elasticsearch, zookeeper etc that we can use it directly if needed.
It also provides a visualization tool that we can use to see all running services. It looks like this:
Thanks for reading…!!