Write a clean, testable service that processes a stream of financial events and aggregates monthly revenue.