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/11/03 05:15:35 UTC

[GitHub] [rocketmq-client-go] wenfengwang opened a new issue #738: [PullConsumer] Support PullConsumer

wenfengwang opened a new issue #738:
URL: https://github.com/apache/rocketmq-client-go/issues/738


   **FEATURE REQUEST**
   
   1. Please describe the feature you are requesting.
   add implementation of HighLevel PullConsumer
   2. Provide any additional detail on your proposed use case for this feature.
   ```go
   type PullConsumer interface {
        // start consumer to consuming
       Start() error
       // stop consumer to stopping consuming
       Shutdown() error
   
       // subscribe topic before start, the groupName should be set in ConsumerOption, if not set, default group will be used
       Subscribe(topic string, selector consumer.MessageSelector) error
   
       // unsubscribe a topic
       Unsubscribe(topic string) error
       
       // get numbers message from topic
       Pull(ctx context.Context, topic string, numbers int) (*primitive.PullResult, error)
   
       // commit consuming position to broker, all messages that pulled will be committed, whatever success or not
       Commit(ctx context.Context, topic) (int64, error)
   }
   ```
   3. Indicate the importance of this issue to you (blocker, must-have, should-have, nice-to-have). Are you currently using any workarounds to address this issue?
    must-have
   4. If there are some sub-tasks using -[] for each subtask and create a corresponding issue to map to the sub task:
   none


-- 
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-client-go] wangweizZZ commented on issue #738: [PullConsumer] Support PullConsumer

Posted by GitBox <gi...@apache.org>.
wangweizZZ commented on issue #738:
URL: https://github.com/apache/rocketmq-client-go/issues/738#issuecomment-960479635


   I want to try to complete this feature.


-- 
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-client-go] leyou240 commented on issue #738: [PullConsumer] Support PullConsumer

Posted by GitBox <gi...@apache.org>.
leyou240 commented on issue #738:
URL: https://github.com/apache/rocketmq-client-go/issues/738#issuecomment-1004491768


   What's the progress now?


-- 
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-client-go] zongtanghu commented on issue #738: [PullConsumer] Support PullConsumer

Posted by GitBox <gi...@apache.org>.
zongtanghu commented on issue #738:
URL: https://github.com/apache/rocketmq-client-go/issues/738#issuecomment-960353455






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