Forward to Virtual Cluster

Related Documentation
Incompatible with
on-prem
Related Resources

The Forward to Virtual Cluster policy forwards messages from Kafka clients to virtual clusters configured with port or SNI routing.

The following examples provide some common configurations for the Forward to Virtual Cluster policy:

Use case

Description

Port mapping Forward to virtual clusters using port mapping.
SNI routing Forward to virtual clusters using SNI routing.

Note: When using port_mapping, there must be a mapping port for each broker on the backend cluster.

Configuring multiple policies

Each listener can have multiple Forward to Virtual Cluster policies configured. However, there can only be one instance of port_mapping.

When multiple Forward to Virtual Cluster policies are configured, the first one that matches the connection is used. If no policy matches, the connection is rejected.

Something wrong?

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!