Interface RoutingModel

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
DirectRouting, DynamicRouting

public sealed interface RoutingModel extends AutoCloseable permits DirectRouting, DynamicRouting
Sealed hierarchy representing how a virtual cluster reaches its upstream Kafka cluster(s).
  • DirectRouting — a single, statically-configured upstream cluster
  • DynamicRouting — one or more upstream clusters reached via a named router plugin

Implementations own the UpstreamClusterModel instances they hold and must release them via close() when the owning virtual cluster is stopped.