This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
Releases: streamnative/kop
Releases · streamnative/kop
v3.1.1.1
v2.11.1.2-b2c38c: Optimize authorization by caching authorization results (#1999)
### Motivation To follow Kafka's behavior, KoP also performs authorization for each PRODUCE or FETCH request. If the custom authorization provider is slow to authorize produce or consume permissions, the performance will be impacted. ### Modifications Introduce caches for authorization: - PRODUCE: (topic, role) -> result - FETCH: (topic, role, group) -> result; Add `SlowAuthorizationTest` to verify the producer and consumer won't be affected significantly by slow authorization. Introduce two configs to configure the cache policy so that revoke permission can work: - kopAuthorizationCacheRefreshMs: the refresh timeout - kopAuthorizationCacheMaxCountPerConnection: the max cache size
v2.10.4.6
"Created by snbot"
v2.10.4.5-5ce22c
"Created by snbot"
v2.9.5.3
"Created by snbot"
v3.0.0.4
"Created by snbot"
v2.11.1.3
"Created by snbot"
v2.10.4.5
"Created by snbot"
v2.10.4.4
"Created by snbot"
v3.0.0.3
"Created by snbot"