I am used to toolstacks like JHipster and Java. Not scala.At this time I need to start with a light-weight stack that includes OpenTelemetry, OpenTracing, Akka, Kubernetes, Prometheus etc. for creating a set of skeleton microservices. So I am exploring my options. How quickly can I start this stack and implement a skeleton and deploy to Kubernetes ? I am not going to use Scala now.
There will be an UI and stacks like JHipster make this quick.
So at the beginning I think I need to have a basic setup deployed to EKS.
You can also use Java and Maven with Lagom. Scala isn’t required (although Lagom itself is built with Scala). I’d recommend starting with the documentation:
@mohanr
You can also check Lagom sample app for implementation reference: https://github.com/lagom/lagom-samples/tree/1.5.x/shopping-cart/shopping-cart-java
It uses SBT, but using Lagom doc, that Tim shared, you should replace it with Maven relatively easy.
Personally I use SBT for Java and Scala. Not Maven. But others in community are using Maven successfully and can help if required.
I overlooked the references to ECS in that blog which gave me the wrong idea.
EKS is what I plan to use but my setup is basic.
Lagom (>1.5.1) comes with out-of-the box support for running on kubernetes.
Is this out-of-the box support for basic Cassandra and Kafka and a couple of simple microservices ? If so then that is the support I am looking for. Any reference ?
I have started with Lagom - Getting started with Lagom in Maven
Cassandra (or any other supported persistence store) and Kafka is out of the Lagom’s scope regarding deployment or running on kubernetes.
For Lagom kubernetes support check details in Running Lagom in production.
I thought a simple lagom setup using Cassandra/Kafka could be straightforward. There are too many moving parts.So this (https://developer.lightbend.com/guides/openshift-deployment/) mentions that one could easily substitute OpenShift commands with Kubernetes commands and I don’t see how that is easy.
Lagom is not a “platform” containing “all in one” but a framework for building microservices.
Lagom DEV environment comes with supplied Cassandra and Kafka server for easier development setup.
Production environment (kubernetes) is far more complex and requires “manual” setup of kubernetes cluster, cassandra, kafka,… and is out of the Lagom’s scope as a framework.
Production environment setup will also depend on the kubernetes implementation you plan to use (AWS,Azure,GC,RedHat Openshift,…).
I am reading some of those documents. But I understand even if Cassandra is deployed separately still integration with Lagom is tricky and complicated. There is too much to understand. That is where I am blocked. Akka is confusing me now.