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 2022/01/27 08:38:55 UTC
[GitHub] [rocketmq] ni-ze opened a new issue #3804: [poll] Commit consume offset with specified MessageQueue
ni-ze opened a new issue #3804:
URL: https://github.com/apache/rocketmq/issues/3804
**FEATURE REQUEST**
1. Please describe the issue you observed:
- What did you do (The steps to reproduce)?
add new feature;
when we use DefaultLitePullConsumer, we commit consume offset to broker, but there is only one commit api : commitSync, it will commit all MessageQueue you subscribe/assign. However, in streams scene, we need commit offset of specified MQ.
- What did you expect to see?
add commit api like:
```java
commitSync(Map(MessageQueue, consumeOffset))
```
**FEATURE REQUEST**
1. Please describe the feature you are requesting.
Commit consume offset with specified MessageQueue
2. Provide any additional detail on your proposed use case for this feature.
when we use DefaultLitePullConsumer, we commit consume offset to broker, but there is only one commit api : commitSync, it will commit all MessageQueue you subscribe/assign. However, in streams scene, we need commit offset of specified MQ.
add commit api like:
```java
commitSync(Map(MessageQueue, consumeOffset))
```
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
--
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 #3804: [poll] Commit consume offset with specified MessageQueue
Posted by GitBox <gi...@apache.org>.
ni-ze commented on issue #3804:
URL: https://github.com/apache/rocketmq/issues/3804#issuecomment-1022971949
I will add a pr to solve this.
--
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 #3804: [poll] Commit consume offset with specified MessageQueue
Posted by GitBox <gi...@apache.org>.
ni-ze edited a comment on issue #3804:
URL: https://github.com/apache/rocketmq/issues/3804#issuecomment-1040199563
--
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 #3804: [poll] Commit consume offset with specified MessageQueue
Posted by GitBox <gi...@apache.org>.
ni-ze commented on issue #3804:
URL: https://github.com/apache/rocketmq/issues/3804#issuecomment-1040199563
> Could please provide more details about you mentioned streams scene? Actually, we need pay more cautious when adding new APIs in rocketmq-client.
<img width="805" alt="image" src="https://user-images.githubusercontent.com/31175234/154059272-9d3e4ee2-1b5d-4709-9898-2058547a92d1.png">
state data in streams is partitioned, and sometimes only one of the MessageQueue offset will be commit.
such as only commit MQ0 or MQ1.
--
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] zhouxinyu commented on issue #3804: [poll] Commit consume offset with specified MessageQueue
Posted by GitBox <gi...@apache.org>.
zhouxinyu commented on issue #3804:
URL: https://github.com/apache/rocketmq/issues/3804#issuecomment-1039828883
Could please provide more details about you mentioned streams scene? Actually, we need pay more cautious when adding new APIs in rocketmq-client.
--
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 #3804: [poll] Commit consume offset with specified MessageQueue
Posted by GitBox <gi...@apache.org>.
ni-ze commented on issue #3804:
URL: https://github.com/apache/rocketmq/issues/3804#issuecomment-1040199563
> Could please provide more details about you mentioned streams scene? Actually, we need pay more cautious when adding new APIs in rocketmq-client.
<img width="805" alt="image" src="https://user-images.githubusercontent.com/31175234/154059272-9d3e4ee2-1b5d-4709-9898-2058547a92d1.png">
state data in streams is partitioned, and sometimes only one of the MessageQueue offset will be commit.
such as only commit MQ0 or MQ1.
--
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 #3804: [poll] Commit consume offset with specified MessageQueue
Posted by GitBox <gi...@apache.org>.
ni-ze edited a comment on issue #3804:
URL: https://github.com/apache/rocketmq/issues/3804#issuecomment-1040199563
--
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] zhouxinyu commented on issue #3804: [poll] Commit consume offset with specified MessageQueue
Posted by GitBox <gi...@apache.org>.
zhouxinyu commented on issue #3804:
URL: https://github.com/apache/rocketmq/issues/3804#issuecomment-1039828883
Could please provide more details about you mentioned streams scene? Actually, we need pay more cautious when adding new APIs in rocketmq-client.
--
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