You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2023/01/05 12:53:17 UTC

[GitHub] [pulsar] syhily opened a new issue, #19139: [Bug] Add `MessageCrypto` setting in `ProducerBuilder`

syhily opened a new issue, #19139:
URL: https://github.com/apache/pulsar/issues/19139

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
   
   
   ### Version
   
   2.10.2
   
   ### Minimal reproduce step
   
   Pulsar add the `MessageCrypto` support, add enabled it in `ProducerConfigurationData`, but Pulsar didn't expose it in `ProducerBuilder` as the `ConsumerBuilder.messageCrypto(MessageCrypto messageCrypto)`
   
   ### What did you expect to see?
   
   Add a new method for setting the `MessageCrypto` in `ProducerBuilder`.
   
   ```java
   /**
    * Sets a {@link MessageCrypto}.
    *
    * <p>Contains methods to encrypt/decrypt message for End to End Encryption.
    *
    * @param messageCrypto
    *            MessageCrypto object
    * @return the consumer builder instance
    */
   ProducerBuilder<T> messageCrypto(MessageCrypto messageCrypto);
   ```
   
   ```java
   @Override
   public ProducerBuilder<T> messageCrypto(MessageCrypto messageCrypto) {
       conf.setMessageCrypto(messageCrypto);
       return this;
   }
   ```
   
   ### What did you see instead?
   
   Not applicable.
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] github-actions[bot] commented on issue #19139: [Client] Add `MessageCrypto` setting in `ProducerBuilder`

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #19139:
URL: https://github.com/apache/pulsar/issues/19139#issuecomment-1426921022

   The issue had no activity for 30 days, mark with Stale label.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] tisonkun closed issue #19139: [Client] Add `MessageCrypto` setting in `ProducerBuilder`

Posted by "tisonkun (via GitHub)" <gi...@apache.org>.
tisonkun closed issue #19139: [Client] Add `MessageCrypto` setting in `ProducerBuilder`
URL: https://github.com/apache/pulsar/issues/19139


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org