You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2021/08/16 03:48:18 UTC

[GitHub] [rocketmq] 970263611 opened a new issue #3267: we need a solution for the consumer to use filter

970263611 opened a new issue #3267:
URL: https://github.com/apache/rocketmq/issues/3267


   **BUG REPORT**
   
   1. Please describe the issue you observed:
   
       neither tag nor SQL can implement our scenario,And I can't find the **org.apache.rocketmq.filtersrv.filtersrvstartup** class in rocketmq 4.8.0
   
   2. Please tell us about your environment:
   
           RocketMQ4.8.0
   
   3. Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):
   
       we need a solution for the consumer to use filter,because we need to specify some consumers on the sender,Using TAG requires the receiver to modify a lot of code,The in field cannot be used dynamically in SQL.
   
   **FEATURE REQUEST**
   
   1. Please describe the feature you are requesting.
   
        please add the lower version of filter back or provide another method to solve this problem.


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

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq] ni-ze edited a comment on issue #3267: we need a solution for the consumer to use filter

Posted by GitBox <gi...@apache.org>.
ni-ze edited a comment on issue #3267:
URL: https://github.com/apache/rocketmq/issues/3267#issuecomment-900056225


   4.8.0still have MessageSelector.bySql and MessageSelector.byTag, maybe you can use them. also you can create a new topic to only send messages you want, in this way, your consumer can use nothing filter to select message.All messages is exactly what you want.
   Filtersrvstartup would not be add in the last version.
    


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

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq] 970263611 commented on issue #3267: we need a solution for the consumer to use filter

Posted by GitBox <gi...@apache.org>.
970263611 commented on issue #3267:
URL: https://github.com/apache/rocketmq/issues/3267#issuecomment-900086718


   thank you for your reply,We have considered the scheme of adding new topic,But because the producer needs to maintain too many topics, so we gave up.We built our client based on the client module.Using filter can reduce the complexity of our client,It is more flexible and easier to transform.We think this is a common scheme,Therefore, we hope the official can consider adding filter again in subsequent versions


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

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq] ni-ze commented on issue #3267: we need a solution for the consumer to use filter

Posted by GitBox <gi...@apache.org>.
ni-ze commented on issue #3267:
URL: https://github.com/apache/rocketmq/issues/3267#issuecomment-900056225


   4.8.0still have MessageSelector.bySql and MessageSelector.byTag, maybe you can use them. also you can create a new topic to only send messages you want, in this way, your consumer can not use any filter to select message.All messages is exactly what you want.
   Filtersrvstartup would not be add in the last version.
    


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

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq] francisoliverlee commented on issue #3267: we need a solution for the consumer to use filter

Posted by GitBox <gi...@apache.org>.
francisoliverlee commented on issue #3267:
URL: https://github.com/apache/rocketmq/issues/3267#issuecomment-900440037


   same scenario we met.  we made a Enhance-DefaultPushConsumer, doing your filter logic in it.


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

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq] francisoliverlee commented on issue #3267: we need a solution for the consumer to use filter

Posted by GitBox <gi...@apache.org>.
francisoliverlee commented on issue #3267:
URL: https://github.com/apache/rocketmq/issues/3267#issuecomment-900440037


   same scenario we met.  we made a Enhance-DefaultPushConsumer, doing your filter logic in it.


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

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org