cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

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

3 REPLIES 3

Hubert-Dudek
Esteemed Contributor III

You can just use display(orders_df3) for debugging purposes

I tried this too. It also not working for me

Do we need to add any jar or library to run this

What is the error message you are getting? could you share more details please

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group