How to read data from kafka topic using spark streaming

scholar
New Contributor II

I have installed kafka-2.10-0.10.2.

And using cluster with configuration: Runtime :6.4 Extended Support( scala 2.11,Spark 2.4.5)

After this i am able to get mesgage son producer and consumer

But when i try to read data from spark.readsttream and try to write it on console. It doesnot show any response. Even dont give any error

Attaching the sccreenshot of the issue

Here i dnt get any response even.. i check in driver logs tooo

Open to all suggeztion