public S value() {
            return value;
        }
Update the builder to have the received map as its state (i.e. the previous state is cleared). The builder will
"batch by topic", so if we have a, b and c, each with two partitions, we may end up with something like the
following (the order of topics and partitions within topics is dependent on the iteration order of the received
map): a0, a1, b1, b0, c0, c1.
clients/src/main/java/org/apache/kafka/common/internals/PartitionStates.java