I am creating streaming analytics application using Spark, Flink & Kafka. Each analytics/functionality will implement as a Microservice so that this analytics can able to use in the different project later.
I run my Spark/Flink job perfectly in Simple Scala application and submit this job over Spark & Flink cluster respectively. But I have to start/run this job when REST POST startJob() request invoke to my web service.
How can I integrate my Spark & Flink data processing functionality in a web service oriented application?
Till now I tried Lagom Microservice but i found so many issues you can check
- Best approach to ingest Streaming Data in Lagom Microservice
- java.io.NotSerializableException using Apache Flink with Lagom
I think i am not taking the right direction for Stream Processing Microservice Application. Looking for right direction to implement this analytics over REST Service.