This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEATURE] Add authorization to produce and consume (#671)
## Motivation #236 Add authorization to produce and consumer ## Modifications * Add authorization to `handleProduceRequest` * Add authorization to `handleOffsetFetchRequest` * Add authorization to `handleListOffsetRequest` * Add authorization to `MessageFetchContext#handleFetch` * Add new test units for produce or consume permissions * Add new test units for topic level permissions
- Loading branch information
1 parent
1096877
commit 5601c66
Showing
9 changed files
with
828 additions
and
297 deletions.
There are no files selected for viewing
364 changes: 236 additions & 128 deletions
364
kafka-impl/src/main/java/io/streamnative/pulsar/handlers/kop/KafkaRequestHandler.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.