null checked spark eventstream