Event Gateway Virtual Clusters

Get a Virtual Cluster

Changed on

Returns information about a specific virtual cluster associated with the Event Gateway.

get/v1/event-gateways/{gatewayId}/virtual-clusters/{virtualClusterId}

Request

  • Base URL
    https://global.api.konghq.com
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

Path parameters

gatewayId, string uuid required
Example:9524ec7d-36d9-465d-a8c5-83a3c9390458

The UUID of your Gateway.

virtualClusterId, string uuid required

The ID of the Virtual Cluster.

Response

A single virtual cluster object.

VirtualCluster required

A representation of a Kafka cluster that maps to a backend cluster.

id, string uuid required

The unique identifier of the virtual cluster.

description, string

A human-readable description of the virtual cluster.

destination, BackendClusterReference required

The backend cluster associated with the virtual cluster.

authentication, VirtualClusterAuthenticationSensitiveDataAwareScheme[] required

How to handle authentication from clients.

It tries to authenticate with every rule sequentially one by one. It succeeds on the first match, and fails if no rule matches.

namespace, VirtualClusterNamespace

Namespace allows to implement multitenancy using a single backend cluster. It allows to either hide or enforce a static prefix on resources (topics, consumer group IDs, transaction IDs).

topic_aliases, VirtualClusterTopicAlias[] nullable

Topic aliases allow exposing backend topics under additional names. An alias creates a new entry point to the same physical data. The alias topic field references namespace-visible names (if namespace is configured). Aliases are independent of namespace and can be used without it.

Requires a minimum runtime version of 1.2.

name, string required

The name of the virtual cluster.

dns_label, string required

The DNS label used in the bootstrap server URL to identify the virtual cluster when using SNI routing. The format follows the RFC1035: 1-63 chars, lowercase alphanumeric or '-', must start and end with an alphanumeric character.

acl_mode, 'enforce_on_gateway' | 'passthrough' required

Configures whether or not ACL policies are enforced on the gateway.

  • enforce_on_gateway means the gateway enforces its own ACL policies for this virtual cluster and does not forward ACL-related commands to the backend cluster. Note that if there are no ACL policies configured, all access is denied.
  • passthrough tells the gateway to forward all ACL-related commands.
labels, Labels

Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.

Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".

created_at, string date-time required

An ISO-8601 timestamp representation of entity creation date.

updated_at, string date-time required

An ISO-8601 timestamp representation of entity update date.

Example response

{
  "authentication": [
    {
      "principals": [
        {
          "password": "${vault.env['MY_ENV_VAR']}"
        }
      ]
    }
  ],
  "dns_label": "vcluster-1",
  "labels": {
    "env": "test"
  },
  "created_at": "2022-11-04T20:10:06.927Z",
  "updated_at": "2022-11-04T20:10:06.927Z"
}

Changes

    • info

      the namespace/prefix response's property pattern ^[A-Za-z0-9._-]*[A-Za-z0-9_-][A-Za-z0-9._-]*$ was added for the status

    • warning

      added the new 403.00 enum value to the status response property for the response status

    • warning

      added the new 404.00 enum value to the status response property for the response status