[英]Given distinct events, with some mapping to the same ID, how can I find the most recent event for each ID and sum the results using Algebird?
我一直在努力尋找解決方案,所以我希望有更多 Algebird 經驗的人可以提供幫助! 我有一個 stream 我正在使用 Algebird 聚合的事件,其中每個事件都代表執行某些任務的嘗試。 考慮以下數據結構來表示每次嘗試: 我正在從 stream 匯總這些嘗試,並且不能保證執行任務的嘗試會成功。 ...