public static ConnectionQuotaEntity listenerQuotaEntity(String listenerName) {
        return new ConnectionQuotaEntity(CONNECTION_RATE_SENSOR_NAME + "-" + listenerName,
                CONNECTION_RATE_METRIC_NAME,
                Long.MAX_VALUE,
                Collections.singletonMap("listener", listenerName));
    }
Class for connection quota configuration. Connection quotas can be configured at the
broker, listener or IP level.
server/src/main/java/org/apache/kafka/network/ConnectionQuotaEntity.java