merlimat commented on a change in pull request #2508: PIP-22: Dead Letter Topic URL: https://github.com/apache/incubator-pulsar/pull/2508#discussion_r216536492
########## File path: pulsar-client/src/main/java/org/apache/pulsar/client/api/ConsumerBuilder.java ########## @@ -338,4 +340,9 @@ * @return consumer builder. */ ConsumerBuilder<T> intercept(ConsumerInterceptor<T> ...interceptors); + + /** + * Set dead letter policy for consumer Review comment: Please expand the comment, explaining what are the purpose and scope of dead-letter policy (for people who are not familiar with the concept). Also it would be nice to provide here a quick code example that explain how to enable this feature. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services