yittg commented on a change in pull request #5517: expose new message with
different schema
URL: https://github.com/apache/pulsar/pull/5517#discussion_r341455971
##########
File path:
pulsar-client-api/src/main/java/org/apache/pulsar/client/api/ProducerBuilder.java
##########
@@ -418,7 +418,19 @@
* the list of interceptors to intercept the producer created
by this builder.
* @return the producer builder instance
*/
- ProducerBuilder<T> intercept(ProducerInterceptor<T> ... interceptors);
+ @Deprecated
+ ProducerBuilder<T> intercept(ProducerInterceptor<?> ... interceptors);
Review comment:
It's not required to change this signature, i'll fix it.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services