rocketmq-client-python icon indicating copy to clipboard operation
rocketmq-client-python copied to clipboard

what kind of expression should be put in subscribe(self, topic, callback, expression='*')

Open ys270 opened this issue 2 years ago • 3 comments

I want to use SQL in expression to filter message properties when consuming messages, but it seems that I cannot get the messages I want. I put "Tag=test AND creator=xx" in expression and I want to filter messages with tag test and property {creator=xx}. How should I get this done?

ys270 avatar Oct 20 '23 03:10 ys270

It only supports "||" in expression at present.

ifplusor avatar Oct 20 '23 06:10 ifplusor

thanks, do you plan to support others in the future?

ys270 avatar Oct 23 '23 03:10 ys270

There is no plan in the c++ client. Maybe you can look at the new client project.

ifplusor avatar Nov 01 '23 13:11 ifplusor