We are using graphframes library in spark to find the connected components. This solution is working fine for us the only problem is we can't do book keeping on these connected component id's because they can change in future. Is there any way to make these connected component id's static.
https://graphframes.github.io/graphframes/docs/_site/index.html