Java Kafka solution