public void setNeedsCommit(final boolean needsCommit) {
        this.needsCommit = needsCommit;
    }
Merge with other metadata. Missing keys will be added. Existing key's value will be updated to
max
@param other Other metadata to be merged
streams/src/main/java/org/apache/kafka/streams/processor/internals/ProcessorMetadata.java