Are you using a custom input dstream? If so, you can make the `compute` method return None to skip a batch.
On Thu, Feb 11, 2016 at 1:03 PM, Sebastian Piu <sebastian....@gmail.com> wrote: > I was wondering if there is there any way to skip batches with zero events > when streaming? > By skip I mean avoid the empty rdd from being created at all? >