title: Why Spark streaming creates batches with 0 events?
body: <p>Spark streaming keeps on creating batches with 0 events and queues them to be processed in next job iteration. But is it really necessary to queue batches which have nothing to be processed or is there something hidden going on?</p>