I am reading data from kafka in spark streaming application and doing two actions
- Insert dstreams into hbase table A
- Update another hbase table B
I want to make sure that for each rdd in dstream Insert into hbase table A will happen before update operation on hbase table B (above two action happen sequentially for each rdd)
How to achieve this in spark streaming application