Class AuditLogRouterJsonConfig
java.lang.Object
io.confluent.security.audit.router.AuditLogRouterJsonConfig
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRenames any legacy "other" category rule to a "management" rule, or drops the "other" category rule if both are present.static classstatic classstatic classstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AuditLogRouterJsonConfigThis config is used if the AuditLogging feature is not configured.static AuditLogRouterJsonConfigThrows IllegalArgumentException if the config is Invalidstatic AuditLogRouterResultstatic voidvalidate(AuditLogRouterJsonConfig config) static voidvalidateDefaultTopics(AuditLogRouterJsonConfig config, Set<String> allowedTopics) static voidvalidateRoutes(AuditLogRouterJsonConfig config, Set<String> allowedTopics)
-
Field Details
-
ALLOWED_RESULTS
-
TOPIC_PREFIX
- See Also:
-
DEFAULT_TOPIC
- See Also:
-
DEFAULT_V2_TOPIC
- See Also:
-
DEFAULT_V2_TOPIC_ROUTE
-
DEFAULT_RETENTION_MS
public static final long DEFAULT_RETENTION_MS- See Also:
-
defaultTopics
-
excludedPrincipals
-
routes
-
metadata
-
destinations
-
-
Constructor Details
-
AuditLogRouterJsonConfig
public AuditLogRouterJsonConfig()
-
-
Method Details
-
validateDefaultTopics
public static void validateDefaultTopics(AuditLogRouterJsonConfig config, Set<String> allowedTopics) -
validateRoutes
-
validate
-
result
-
load
Throws IllegalArgumentException if the config is Invalid- Throws:
IOException
-
bootstrapServers
-
defaultConfig
This config is used if the AuditLogging feature is not configured. It sends audit logging messages to the local cluster via the interbroker listener. -
toJsonString
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-