我有下面的代码片段: case class SomeClass(param1:String,param2:String,param3:String)
val someClassActorSource: Source[SomeClass, ActorRef] = Source
.actorPublisher[SomeClass](Props[SomeClassActorPub
我已经使用AKK HTTP流来实现WebSocket服务器。但是,客户端每分钟发送大量数据。所以连接在客户端和服务器之间保持连接。 在实现web套接字处理程序时,我使用了流和接收器。并使用Sink.seq。接收器是一直在收集传入元素,直到上游终止。 我该如何避免它? implicit val system = ActorSystem("DecoderSystem")
implicit v