public Optional<Integer> topicAuthorizedOperations(String topicName) {
        MetadataResponseTopic topic = data.topics().find(topicName);
        if (topic == null)
            return Optional.empty();
        else
            return Optional.of(topic.topicAuthorizedOperations());
    }
Returns a 32-bit bitfield to represent authorized operations for this topic.
clients/src/main/java/org/apache/kafka/common/requests/MetadataResponse.java