public synchronized void setClientInstanceId(final Uuid clientInstanceId) {
        this.clientInstanceId = clientInstanceId;
    }
A mock of the {@link ShareConsumer} interface you can use for testing code that uses Kafka. This class is <i> not
thread-safe </i>.
clients/src/main/java/org/apache/kafka/clients/consumer/MockShareConsumer.java