public Optional<String> listenerName() {
        return Optional.ofNullable(listenerName);
    }
Returns the listener name of this endpoint. This is non-empty for endpoints provided
to broker plugins, but may be empty when used in clients.
clients/src/main/java/org/apache/kafka/common/Endpoint.java