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

   ### Search before reporting
   
   - [x] I searched in the [issues](https://github.com/apache/pulsar/issues) 
and found nothing similar.
   
   
   ### Motivation
   
   I read [PIP-466: New Java Client API (V5) with Scalable Topic 
Support](https://github.com/apache/pulsar/blob/master/pip/pip-466.md) and could 
not find any mention of client-side **ProducerInterceptor** / 
**ConsumerInterceptor** (or an equivalent hook) in the V5 API design.
   
   PIP-466 states that the V5 API is intended as a full replacement for the 
existing Java client API (not a subset). However, in the current V5 Java client 
API I do not see any way to register `ProducerInterceptor` or 
`ConsumerInterceptor`  on the V5 builders / clients.
   
   **Ask:** Should PIP-466 (or a follow-up doc) explicitly document whether 
interceptors are intentionally dropped, replaced by another mechanism, or 
planned for a later iteration of the V5 API?
   
   ### Solution
   
   _No response_
   
   ### Alternatives
   
   _No response_
   
   ### 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: [email protected]

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

Reply via email to