This smells like a job for Apache Kafka [1], I've yet to use it personally but its feature set appears to hit the mark though it lacks SQL. The application described sounds like it uses something similar to event sourcing [2] which people have used Kafka for successfully. If you're not familiar with Kafka there is a very good interview with Jun Rao [3] on se radio.
[2] http://martinfowler.com/eaaDev/EventSourcing.html
[3] http://www.se-radio.net/2015/02/episode-219-apache-kafka-wit...