public static Integer incValue(String key, Integer value) {
        return value == null ? 1 : value + 1;
    }
Increments value by 1; This helper is meant to be used with Map#compute.
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/Utils.java