A simple socket server in python that uses google buffer protocol to receive events and write it to csv file, there is an endpoint (written in java) calling this server in this repository : https://github.com/mister0/java-event-endpoint