consumer.host(), consumer.port(), topic, partition, response.errorCode(topic, partition));
LOG.error(message);
throw new RuntimeException(message);
}
}
long[] offsets = response.offsets(topic, partition);
if (offsets.length == 0) {
closeConsumer();
String message =
String.format("Got zero offsets in offset response for time %s from broker %s:%d for topic %s, partiton %d",
offset, consumer.host(), consumer.port(), topic, partition);