Modifier and Type | Class and Description |
---|---|
static class |
AuditLogCategoryResultRouter.RequestNameOverrides |
Modifier and Type | Field and Description |
---|---|
static String |
AUTHENTICATION_CATEGORY |
static String |
AUTHORIZE_CATEGORY |
static Set<String> |
CATEGORIES |
static String |
CONSUME_CATEGORY |
static Set<String> |
DEFAULT_ENABLED_CATEGORIES |
static String |
DESCRIBE_CATEGORY |
static String |
HEARTBEAT_CATEGORY |
static String |
INTERBROKER_CATEGORY |
static String |
MANAGEMENT_CATEGORY |
static Map<String,String> |
METHOD_CATEGORIES |
static String |
OTHER_CATEGORY
Deprecated.
|
static String |
PRODUCE_CATEGORY |
static String |
UNAUDITED |
Constructor and Description |
---|
AuditLogCategoryResultRouter() |
Modifier and Type | Method and Description |
---|---|
AuditLogCategoryResultRouter |
setRoute(String category,
AuditLogRouterResult result,
String topic) |
Optional<String> |
topic(AuditLogEntry auditLogEntry)
Possibly return the name of a topic that this event should be routed to.
|
String |
toString() |
@Deprecated public static final String OTHER_CATEGORY
public static final String UNAUDITED
public static final String MANAGEMENT_CATEGORY
public static final String PRODUCE_CATEGORY
public static final String CONSUME_CATEGORY
public static final String INTERBROKER_CATEGORY
public static final String AUTHORIZE_CATEGORY
public static final String DESCRIBE_CATEGORY
public static final String HEARTBEAT_CATEGORY
public static final String AUTHENTICATION_CATEGORY
public AuditLogCategoryResultRouter setRoute(String category, AuditLogRouterResult result, String topic)
public Optional<String> topic(AuditLogEntry auditLogEntry)
Router
If the value is present, but "", the Router wants this message to be discarded.
If the value is an empty Optional, the Router has no opinion about what the routing should be. In that case, the caller should consult a different Router or fall back to a default. This is intended to allow a prioritized list of Routers to be tried, with the first one with a concrete answer determining the routing.