@Override
    public synchronized Map<TopicPartition, OffsetAndMetadata> committed(final Set<TopicPartition> partitions, final Duration timeout) {
        return committed(partitions);
    }
@deprecated Use {@link #setPollException(KafkaException)} instead
clients/src/main/java/org/apache/kafka/clients/consumer/MockConsumer.java