public OptionalInt nodeId() {
        for (MetaProperties metaProps : logDirProps.values()) {
            if (metaProps.nodeId().isPresent()) {
                return metaProps.nodeId();
            }
        }
        return OptionalInt.empty();
    }
Find the node ID of this meta.properties ensemble.

@return  The node ID, or OptionalInt.empty if none could be found.
metadata/src/main/java/org/apache/kafka/metadata/properties/MetaPropertiesEnsemble.java