RobertIndie commented on code in PR #169: URL: https://github.com/apache/pulsar-client-cpp/pull/169#discussion_r1069152267
########## include/pulsar/ProducerConfiguration.h: ########## @@ -532,6 +533,10 @@ class PULSAR_PUBLIC ProducerConfiguration { */ ProducerAccessMode getAccessMode() const; + ProducerConfiguration& intercept(const std::initializer_list<ProducerInterceptorPtr> interceptors); Review Comment: I don't have a strong opinion on it. Just because `initializer_list ` is more often used as the lightweight container type for the input parameter. I could change to using vector anyway. -- 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-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org