Kinesis Data Analytics for Java Applications: How it Works