Visitar URL original
what kind of expression should be put in subscribe(self, topic, callback, expression='*') · Issue #145 · apache/rocketmq-client-python · GitHub
Skip to content

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

Description

@ys270

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?

Activity

  1. ifplusor commented on Oct 20, 2023

    @ifplusor
    Contributor

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

  2. ys270 commented on Oct 23, 2023

    @ys270
    Author

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

  3. ifplusor commented on Nov 1, 2023

    @ifplusor
    Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions