@Override
    public boolean equals(Object o) {
        if (!(o instanceof ListenerName))
            return false;
        ListenerName that = (ListenerName) o;
        return value.equals(that.value);
    }
Create an instance with the provided value converted to uppercase.
clients/src/main/java/org/apache/kafka/common/network/ListenerName.java