lhotari commented on issue #23121:
URL: https://github.com/apache/pulsar/issues/23121#issuecomment-4133078598

   > [@hpvd](https://github.com/hpvd) decryption performance on consumer-side 
will be also improved
   
   @ocadaruma This PR contains some improvements to consumer-side decryption 
performance: #25400. This impacts the case when there are multiple producers 
and multiple public keys used in the producers. Currently the decryption is 
very poor in this type of real-world scenario. If the decryption fails, it will 
retry with the next key that succeeds. CPU will be unnecessarily spent in these 
attempts. In the Java client implementation, the producer will use the same key 
for 4 hours before rotating the key. That's why it's useful to cache the 
decrypted key by producer name.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to