Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

in producer, support encryption #28

Open
wolfstudy opened this issue Mar 1, 2019 · 0 comments
Open

in producer, support encryption #28

wolfstudy opened this issue Mar 1, 2019 · 0 comments

Comments

@wolfstudy
Copy link
Owner

wolfstudy commented Mar 1, 2019

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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant