replaced all instances of TopicSlice with TopicAndPartition