public Long nextAssignedStreamId() {
        return nextAssignedStreamId.get();
    }
Check whether this node is valid to operate the stream related resources.
metadata/src/main/java/org/apache/kafka/controller/stream/StreamControlManager.java