Real-time data processing is not possible directly but obviously, we can make it happen by registering existing RDD as a SQL table and trigger the SQL queries on priority.