crabka-authz
Shared Kafka-ACL authorization evaluator for the Crabka broker and gateway.
This crate is part of Crabka, a Rust implementation of Kafka-compatible infrastructure and clients.
Install
= "0.3.2"
For workspace development, use the path dependency from this repository instead.
Usage example
Authorize a topic operation against an ACL source:
use SocketAddr;
use ;
use ;
use ;
use Uuid;
let image = new;
let host: SocketAddr = "127.0.0.1:9092".parse.unwrap;
let principal = Principal ;
let request = AuthorizationRequest ;
let decision = AllowAllAuthorizer.authorize;
println!;
Documentation
API documentation is published on docs.rs/crabka-authz. The repository README contains project-wide setup, development, and release notes.
License
Apache-2.0. See the repository LICENSE and NOTICE files for details.