Adapted streaming t kafka 0.8.0-beta1