Adapted streaming to Kafka 0.8.0-beta1