test java 8 stream, prepare for stream processing Kafka with pure Java 8