Infosys interview question

Write Spark program to process incoming data in 15 secs differences