Scala examples for Kafka consumer

I’m new to Akka streams, Are there any Scala examples for streaming data from Kafka using Akka Stream and persisting Into Cassandra?

Have downloaded code from git.

However not sure how to proceed further.

Objective is to read csv/json file into Kafka and persist into Cassandra with alpakka

Hi @jsbilgi,

Sounds like a good start with Alpakka!

There is an example for reading from Kafka and writing to Elasticsearch which might help you to get started:

I hope that’s kind of what you were looking for,

Thank you Enno.

Able to fetch from site using http. It worked for “” properly.

However it failed to get response from “” site mentioned in example.

It failed at mapAsync(1)(Http().singleRequest(_)). Below is the error message
“dead letters encountered”

From browser able to download file from site. It is working.

Also checked with another site. There able to get data from http. However output is jumbled.
Below is site