Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个用例,我想清空我的 Akka 演员的死信队列。
我的本地演员与远程演员交谈,定期向其发送一些数据。我认为这些会排队,因为当远程参与者可用时,它会收到大量事件。
是否可以限制此队列的大小?或者甚至更好地访问它,以根据某些标准清理多余的项目?(在这一点上,我什至很高兴只是清理整个事情,或者禁用这个功能)
你不需要清理它。默认情况下,它只会将消息推送到事件总线:请参见此处。如果没有订阅者,它将被丢弃:请参阅此处。