Class ProducerEncryptionPolicy
java.lang.Object
org.apache.pulsar.client.api.v5.config.ProducerEncryptionPolicy
Producer-side end-to-end encryption configuration.
Construct via builder(). Required: a PublicKeyProvider and at
least one key name.
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
publicKeyProvider
- Returns:
- the provider used to load public keys for encryption
-
keyNames
-
failureAction
- Returns:
- the action the producer takes when encryption fails
-
builder
- Returns:
- a new builder for constructing a
ProducerEncryptionPolicy
-