Search before asking
Version
pulsar server 2.10.0
pulsar-client-cpp 3.1.1
os redhat 8
Minimal reproduce step
- create non persistence producer
- create consumer and use subscribeWithRegex
I have used this on consumer side
consumer_config.setReceiverQueueSize(1000);
consumer_config.setAckGroupingTimeMs(5);
consumer_config.setAckGroupingMaxSize(60);
pulsar::BatchReceivePolicy policy(1000, -1,200);
m_Config.setBatchReceivePolicy(policy);
std::string regex_pattern_sub = "non-persistent://public/default/.*";
auto res = m_Client->subscribeWithRegex(regex_pattern_sub, sub_name, m_Config, m_Consumer);
What did you expect to see?
I expect regex should work for non persistent topic also as it is shown in documentation.
What did you see instead?
I don't see any coming messages
Anything else?
No response
Are you willing to submit a PR?