You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We could implement dynamic updating of policies and KMS definitions in Kroxylicious without it being implemented upstream.
We could set up watches on the files for changes, or naively reload the configuration periodically. Then on update we load it in and swap out the old set of policies.
Upstream offers the PolicyRepository so we could build it using this and PR it back.
Maybe there's some way to establish it as a pattern that could be used with other implementations, like if the TopicPolicies are stored externally in something like vault.
We could make this in-memory reloading implementation that can ask whether/when a delegate PolicyRepository has been modified and therefore that it's cache is invalid and it should reload. Maybe it's a two way thing since a modification is more like an event that should be pushed out of the delegate and reacted to in the caching reloader.
The text was updated successfully, but these errors were encountered:
There's a bit more to it. io.strimzi.kafka.topicenc.EncryptionModule caches a map from topic -> EncrypterDecrypter with no expiry, so it's this class that would change. Maybe this method EncrypterDecrypter getTopicEncrypter(String topicName) is the bit that should be extracted into an interface.
We could implement dynamic updating of policies and KMS definitions in Kroxylicious without it being implemented upstream.
We could set up watches on the files for changes, or naively reload the configuration periodically. Then on update we load it in and swap out the old set of policies.
Upstream offers the PolicyRepository so we could build it using this and PR it back.
Maybe there's some way to establish it as a pattern that could be used with other implementations, like if the TopicPolicies are stored externally in something like vault.
We could make this in-memory reloading implementation that can ask whether/when a delegate PolicyRepository has been modified and therefore that it's cache is invalid and it should reload. Maybe it's a two way thing since a modification is more like an event that should be pushed out of the delegate and reacted to in the caching reloader.
The text was updated successfully, but these errors were encountered: