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 |
|---|---|
| Example: Port mapping | Forward to virtual clusters using port mapping. |
| Example: SNI routing | Forward to virtual clusters using SNI routing. |
| How-to: Get started with Event Gateway | Use port mapping for testing and demo environments. |
| How-to: SNI routing with TLS | Set up SNI routing to send traffic to multiple virtual clusters in the same Event Gateway control plane without opening more ports on the data plane. |
Note: When using
port_mapping, there must be a mapping port for each broker on the backend cluster.