This is an automated email from the ASF dual-hosted git repository.

urfree pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 5f88ec6993e Docs sync done from apache/pulsar(#0b315eb)
5f88ec6993e is described below

commit 5f88ec6993e34a6a1f65a7c51c850058144ae8dc
Author: Pulsar Site Updater <[email protected]>
AuthorDate: Thu Jul 21 06:01:52 2022 +0000

    Docs sync done from apache/pulsar(#0b315eb)
---
 site2/website-next/docs/client-libraries-websocket.md | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/site2/website-next/docs/client-libraries-websocket.md 
b/site2/website-next/docs/client-libraries-websocket.md
index 6c84ba3d8ac..c5455b05388 100644
--- a/site2/website-next/docs/client-libraries-websocket.md
+++ b/site2/website-next/docs/client-libraries-websocket.md
@@ -60,6 +60,12 @@ tlsTrustCertsFilePath=/path/to/ca.cert.pem
 
 ```
 
+To enable encryption at rest on WebSocket service, add CryptoKeyReaderFactory 
factory class in classpath which will create CryptoKeyReader for WebSocket and 
that helps to load encryption keys for producer/consumer.
+
+```
+cryptoKeyReaderFactoryClassName=org.apache.pulsar.MyCryptoKeyReaderFactoryClassImpl
+```
+
 ### Starting the broker
 
 When the configuration is set, you can start the service using the 
[`pulsar-daemon`](reference-cli-tools.md#pulsar-daemon) tool:
@@ -113,6 +119,7 @@ Key | Type | Required? | Explanation
 `initialSequenceId` | long | no | Set the baseline for the sequence ids for 
messages published by the producer.
 `hashingScheme` | string | no | [Hashing 
function](/api/client/org/apache/pulsar/client/api/ProducerConfiguration.HashingScheme.html)
 to use when publishing on a partitioned topic: `JavaStringHash`, 
`Murmur3_32Hash`
 `token` | string | no | Authentication token, this is used for the browser 
javascript client
+`encryptionKeys` | string | no | Encryption key to encrypt published message 
only if encryption reader is configured using cryptoKeyReaderFactoryClassName 
config in websocket-configuration.
 
 
 #### Publishing a message

Reply via email to