finishing the kafka transport