linlinnn commented on issue #10377:
URL: https://github.com/apache/pulsar/issues/10377#issuecomment-827659941


   @jvoigt
   There are some issues in your code.
   1. Consumer should subscribe before producer send message.
   2. The right name of dlq topic is 
`jsonTopic-subscription-DLQ`(persistent://public/default/jsonTopic-subscription-DLQ).
   3. Add something like `CountDownLatch` to avoid `main thread` exit.


-- 
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]


Reply via email to