คำถามในหัวข้อ 'akka-stream'

อ่านไฟล์ขนาดใหญ่โดยใช้ Akka Streams
ฉันกำลังลองใช้ Akka Streams และนี่คือตัวอย่างสั้นๆ ที่ฉันมี: override def main(args: Array[String]) { val filePath = "/Users/joe/Softwares/data/FoodFacts.csv"//args(0) val file = new File(filePath) println(file.getAbsolutePath)...
2552 มุมมอง
schedule 23.12.2023

การสตรีมออบเจ็กต์ JSON โดยใช้การตอบสนองแบบ akka http chunked
การใช้ akka-http แบบนี้ถือเป็นการละเมิดหรือเป็นอันตรายหรือไม่? บนเซิร์ฟเวอร์ def source(consumerOffset: UUID) = readJournal.eventsByTag(“MyTag", consumerOffset).map(_.asJson) pathPrefix("stream" / Segment.map(UUID.fromString)) { offset...
1640 มุมมอง
schedule 02.11.2023