Closed rdhabalia closed 3 years ago
Add ecryption support to pulsar-kafka producer and consumer.
CryptoKeyReaderFactory
Pulsar::CryptoKeyReader
properties
User can enable encryption by implementing CryptoKeyReaderFactory which can create CryptoKeyReader to encrypt in pulsar-kafka producer/consumer.
CryptoKeyReader
Motivation
Add ecryption support to pulsar-kafka producer and consumer.
Modification
CryptoKeyReaderFactory
to createPulsar::CryptoKeyReader
based on configuration passed inproperties
.CryptoKeyReaderFactory
also allows Pulsar-kafka producer to retrieve Encryption keys.Result
User can enable encryption by implementing
CryptoKeyReaderFactory
which can createCryptoKeyReader
to encrypt in pulsar-kafka producer/consumer.