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 2022/02/27 07:40:57 UTC

[GitHub] [pulsar] eolivelli commented on a change in pull request #12599: Enable custom Encrypt/Decrypt Methods for ReaderImplementation.

eolivelli commented on a change in pull request #12599:
URL: https://github.com/apache/pulsar/pull/12599#discussion_r815400623



##########
File path: pulsar-client/src/main/java/org/apache/pulsar/client/impl/ReaderImpl.java
##########
@@ -106,6 +106,10 @@ public void reachedEndOfTopic(Consumer<T> consumer) {
             consumerConfiguration.setCryptoKeyReader(readerConfiguration.getCryptoKeyReader());
         }
 
+        if(readerConfiguration.getMessageCrypto() != null){

Review comment:
       Nit: missing whitespaces 

##########
File path: pulsar-client/src/main/java/org/apache/pulsar/client/impl/MultiTopicsReaderImpl.java
##########
@@ -94,6 +94,10 @@ public void reachedEndOfTopic(Consumer<T> consumer) {
         if (readerConfiguration.getCryptoKeyReader() != null) {
             consumerConfiguration.setCryptoKeyReader(readerConfiguration.getCryptoKeyReader());
         }
+
+        if(readerConfiguration.getMessageCrypto() != null){

Review comment:
       Nit: missing ehitespaces




-- 
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