Search code examples
hdfsakka-streamakka-http

How to read HDFS file from Akka Stream?


Can someone give an example to read a text file available at HDFS location through Akka Streaming? I'm a novice in Akka Stream and after googling so much not able to found any solution for the same. Any help would be appreciated. Thanks.


Solution

  • Use the Alpakka HDFS connector, with which you can create a HdfsSource to read from HDFS.