Expand description
Kafka ACL precedence and SASL session/request admission.
Structs§
- AclFacts
- What the precedence loop observed for one request.
- AclResource
Facts - How a stored ACL’s resource name relates to the requested resource name.
Enums§
- AclDecision
- Why ACL evaluation allowed or denied a request.
- AclDefault
- The outcome when no ACL matched the request.
- AclOperation
Kind - ACL operation class used by the verified implication table.
- AclPattern
Kind - Resource-pattern class used by the verified ACL applicability adapter.
- AclResource
Type Match - Whether a stored ACL names the requested resource type.
- Request
Auth State - Authentication phase used to admit a Kafka request, after Kafka’s
SaslServerAuthenticatorstates.
Constants§
- MIN_
REAUTH_ INTERVAL_ MS - Kafka’s
KafkaChannel.MIN_REAUTH_INTERVAL_ONE_SECOND_NANOS, in ms: a connection may not start a re-authentication more than once a second.
Functions§
- acl_
decision - Decide a request from whether any matching ACL allowed or denied it.
- acl_
identity_ match - Match a principal or host by exact equality or its axis-specific wildcard.
- acl_
operation_ match - Match exact operations,
All, and Kafka’s one-way implication arrows. - acl_
resource_ match - Match an ACL resource type and literal or prefixed name pattern.
- controller_
request_ admission - Controller connections currently require reconnecting to reauthenticate.
- reauthentication_
begins - Whether a
SaslHandshakeon a session that expires atexpiry_msbegins a KIP-368 re-authentication. - request_
auth_ admission - Decide whether an API key may run in the current authentication phase.
- sasl_
session_ expiry - Bind a SASL session to the earlier credential or positive listener cap.
A sum beyond the clock range stays finite at
i64::MAX. - session_
expired_ for_ request - Whether a request must close the connection because its KIP-368 session
has expired, as Kafka’s
Processor.processCompletedReceivesdecides.