0

I trying to stream a directory of parquet files through akka/alpakka streams, the problem is although I am setting the directory as the source, it streams only one file.

Any advice will be greatly appreciated This is my last experiment:

 val reader: ParquetReader[GenericRecord] =  AvroParquetReader.builder[GenericRecord](filePath).withConf(conf).build()

  val source: Source[GenericRecord, NotUsed] = AvroParquetSource(reader)

  source 
    .ask[WorkerAck](10)(workerActor)
    .runWith(Sink.ignore)
Gaël J
  • 11,274
  • 4
  • 17
  • 32
igx
  • 4,101
  • 11
  • 43
  • 88

0 Answers0