pulsar-client-go icon indicating copy to clipboard operation
pulsar-client-go copied to clipboard

in producer, support encryption

Open wolfstudy opened this issue 6 years ago • 0 comments

Describe alternatives you've considered

Add public encryption key, used by producer to encrypt the data key.

At the time of producer creation, Pulsar client checks if there are keys added to encryptionKeys. If keys are found, a callback getKey(String keyName) is invoked against each key to load the values of the key. Application should implement this callback to return the key in pkcs8 format. If compression is enabled, message is encrypted after compression. If batch messaging is enabled, the batched message is encrypted.

for specific functional descriptions, refer to:

wolfstudy avatar Mar 01 '19 05:03 wolfstudy