public class DefaultDekCacheUpdateHandler extends Object implements DekCacheUpdateHandler
DEK_REGISTRY| Constructor and Description |
|---|
DefaultDekCacheUpdateHandler(DekRegistry dekRegistry) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
handleUpdate(EncryptionKeyId key,
EncryptionKey value,
EncryptionKey oldValue,
org.apache.kafka.common.TopicPartition tp,
long offset,
long timestamp)
Invoked on every new schema written to the Kafka store
|
io.kcache.CacheUpdateHandler.ValidationStatus |
validateUpdate(EncryptionKeyId key,
EncryptionKey value,
org.apache.kafka.common.TopicPartition tp,
long offset,
long timestamp) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigurepublic DefaultDekCacheUpdateHandler(DekRegistry dekRegistry)
public io.kcache.CacheUpdateHandler.ValidationStatus validateUpdate(EncryptionKeyId key, EncryptionKey value, org.apache.kafka.common.TopicPartition tp, long offset, long timestamp)
validateUpdate in interface io.kcache.CacheUpdateHandler<EncryptionKeyId,EncryptionKey>public void handleUpdate(EncryptionKeyId key, EncryptionKey value, EncryptionKey oldValue, org.apache.kafka.common.TopicPartition tp, long offset, long timestamp)
handleUpdate in interface io.kcache.CacheUpdateHandler<EncryptionKeyId,EncryptionKey>key - Key associated with the schema.value - Value written to the Kafka lookupCachepublic void close()
close in interface io.kcache.CacheUpdateHandler<EncryptionKeyId,EncryptionKey>close in interface Closeableclose in interface AutoCloseableCopyright © 2026 Confluent, Inc.. All rights reserved.