pulsar-client-go icon indicating copy to clipboard operation
pulsar-client-go copied to clipboard

feat: add reconsumeLater to regexConsumer

Open pacop opened this issue 11 months ago • 0 comments

Motivation

Right now, the regexConsumer doesn't support for ReconsumeLater. Indeed, when you try to use you only get a warning saying that is not supported. This PR add support for ReconsumeLater following the same approach as the one followed on multiTopicConsumer.

The RLT topic is also consumed following the same idea as multiTopicConsumer

Modifications

  • Enable ReconsumeLater/ReconsumeLaterWithCustomProperties to regexConsumer
  • Consume RLT topic
  • Add test

Verifying this change

This PR includes tests. Create a regexConsumer and use ReconsumeLater. Messages should go first to RLT, and latter to DLT.

Documentation

Not needed

pacop avatar Jan 23 '25 07:01 pacop