I am new in Lagom and Persistence Entities Database concepts.
I am building Streaming Analytics Engine. My each analysis will work as independent micro-service and for each individual micro-service according to its design philosophy the results will save in its own database (my case Cassandra). I am using Flink & Spark for Streaming Analysis which results are then Sink to Cassandra using Phantom for Flink(Scala driver for Cassandra). I am not able to understand following challenges in Lagom Framework.
To store the analytic result still i need to implement Persistence Entity(P.E) to store the record in Cassandra or should i buy-pass it and can store direct to Cassandra? My application neither support for deleter nor update. Only insert to visualize the results. Flink & Spark already have support of Fault-Tolerance.
How can i access access to Cassandra Session without Persistence Entities?
If I use Phantom driver in Lagom then its has some conflict with embedded Cassandra of Lagom; not able to register the service in Service Locator.
Can you please suggest how should i proceed with this situation. In other words each micro-service, its architecture based on KAPPA Architecture
Thanks