long nextWriteOffset() {
        return nextWriteOffset;
    }
@return the next offset that the active controller should write to.
metadata/src/main/java/org/apache/kafka/controller/OffsetControlManager.java