Package org.apache.kafka.server.policy
Interface CreateClusterLinkPolicy
- All Superinterfaces:
Configurable
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
setTenantMaxDestLinks
(Optional<String> tenantId, Optional<Integer> maxDestinationLinks) void
setTenantMaxSourceLinks
(Optional<String> tenantId, Optional<Integer> maxSourceLinks) void
Methods inherited from interface org.apache.kafka.common.Configurable
configure
-
Field Details
-
DESTINATION
- See Also:
-
SOURCE
- See Also:
-
-
Method Details
-
validate
void validate(Optional<String> tenantPrefix, String linkMode, Map<String, String> configs) throws PolicyViolationException- Throws:
PolicyViolationException
-
setTenantMaxSourceLinks
-
setTenantMaxDestLinks
-