KAFKA-1042 follow up compilation fix; reviewed by Neha Narkhede