How to read data from kafka topic using spark streaming
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2022 02:17 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2022 02:25 AM
You can just use display(orders_df3) for debugging purposes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2022 02:28 AM
I tried this too. It also not working for me
Do we need to add any jar or library to run this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2022 05:33 PM
What is the error message you are getting? could you share more details please

