[英]How to empty Actor dead letter queue
I have a use case where I'd like to empty my Akka actors' dead letter queues. 我有一个用例,我想清空我的Akka演员的死信队列。
My local actor talks to a remote actor, sending it some data periodically. 我的当地演员与远程演员交谈,定期发送一些数据。 I think these get queued up as when the remote actors becomes available, it gets a flood of events.
我认为这些排队等待远程演员变得可用时,会发生大量事件。
Is it possible to limit the size of this queue? 是否可以限制此队列的大小? Or even better access it, for clearing up the excess items based on some criteria?
或者甚至更好地访问它,根据某些标准清理多余的项目? (at this point I'm even happy just clearing the whole thing up, or disabling this feature)
(此时我甚至高兴只清除整个事情,或禁用此功能)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.