@Override
    public synchronized long position(TopicPartition partition, final Duration timeout) {
        return position(partition);
    }
@deprecated Use {@link #setPollException(KafkaException)} instead
clients/src/main/java/org/apache/kafka/clients/consumer/MockConsumer.java