explore
// Update the cumulative count using updateStateByKey
// This will give a Dstream made of state (which is the cumulative count of the events)
// instead of doing some in Dynamo
val stateDstream = eventDstream.updateStateByKey[Int](newUpdateFunc,
new HashPartitioner %28ssc.sparkContext.defaultParallelism%29, true, initialRDD)