ConductR 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 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 provide pre-configured bundles for cassandra, elasticsearch, zookeeper etc that we can use it directly if needed.
It also provides a visualisation tool that we can use to see all running services. It looks like this:
Thanks for reading…!!