KAFKA-1356 (Follow-up) patch to clean up metadata cache api; reviewed by
Jun Rao