I wanted to know if the DCP based streaming is stable in Spark Couchbase Official Connector? The documents state that they aren't ready to be used in production as yet. Do we have any examples for Java?
Also, if someone could shed some light on the use case that I am trying to solve and whether a spark connector makes sense here:
We get daily updates about some badges from a couchbase lite db to sync gateway. Now, over a window of 10 days, if someone earns 5 or more badges, then we need to push a congratulatory badge. This needs to be done after every 10 days.
So, what I was planning was that using the DCP, I check for changes on a daily basis, run a job and then push it to sync gateway. If within the 10 day interval, 5 or more badges have been earned then I push it to the sync gateway..
Is this the right way to go about this or are there better ways to do this?
One more thing that could be used is:
So which approach would be better of here?