Package io.kroxylicious.proxy.router


@ReturnValuesAreNonnullByDefault @DefaultAnnotationForParameters(edu.umd.cs.findbugs.annotations.NonNull.class) @DefaultAnnotation(edu.umd.cs.findbugs.annotations.NonNull.class) package io.kroxylicious.proxy.router
The router API.

A Router is a plugin that decides which route should handle a given incoming Kafka request. Routes lead to targets — either a backing Kafka cluster or another Router. The routers defined in a proxy configuration are validated at startup to ensure that all routes end in a defined target and to ensure the router graph is acyclic.

Router implementations are discovered at runtime via ServiceLoader using RouterFactory as the service type.