You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "liooooo29 (via GitHub)" <gi...@apache.org> on 2026/09/03 09:58:35 UTC

[I] [Rust] Support LiteSimpleConsumer [rocketmq-clients]

liooooo29 opened a new issue, #1361:
URL: https://github.com/apache/rocketmq-clients/issues/1361

   ## Feature Request
   
   The Rust SDK currently only has `LitePushConsumer` (push-style lite consumption, added in #1227). It is missing `LiteSimpleConsumer` (pull-style lite consumption).
   
   Java (#1188) and Go (#1314) already implement `LiteSimpleConsumer`. This issue tracks adding it to the Rust SDK so all languages reach parity for lite pull consumption.
   
   ## Proposal
   
   - Add `LiteSimpleConsumer` and `LiteSimpleConsumerTrait`.
   - Add `ClientType::LiteSimpleConsumer = 6`.
   - Add lite-topic-aware queue selection for lite consumers.
   - Fix ack/change-invisible-duration to pass through the message's lite topic so acks route to the correct LMQ consume queue.
   - Add an example (`examples/lite_simple_consumer.rs`).
   


-- 
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: commits-unsubscribe@rocketmq.apache.org.apache.org

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


Re: [I] [Rust] Support LiteSimpleConsumer [rocketmq-clients]

Posted by "zhaohai666 (via GitHub)" <gi...@apache.org>.
zhaohai666 commented on issue #1361:
URL: https://github.com/apache/rocketmq-clients/issues/1361#issuecomment-5692909171

   #1380


-- 
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: commits-unsubscribe@rocketmq.apache.org

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


Re: [I] [Rust] Support LiteSimpleConsumer [rocketmq-clients]

Posted by "zhaohai666 (via GitHub)" <gi...@apache.org>.
zhaohai666 commented on issue #1361:
URL: https://github.com/apache/rocketmq-clients/issues/1361#issuecomment-5677429225

   Point it out to me.


-- 
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: commits-unsubscribe@rocketmq.apache.org

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


Re: [I] [Rust] Support LiteSimpleConsumer [rocketmq-clients]

Posted by "zhaohai666 (via GitHub)" <gi...@apache.org>.
zhaohai666 commented on issue #1361:
URL: https://github.com/apache/rocketmq-clients/issues/1361#issuecomment-5692913062

   #1379 


-- 
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: commits-unsubscribe@rocketmq.apache.org

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


Re: [I] [Rust] Support LiteSimpleConsumer [rocketmq-clients]

Posted by "RockteMQ-AI (via GitHub)" <gi...@apache.org>.
RockteMQ-AI commented on issue #1361:
URL: https://github.com/apache/rocketmq-clients/issues/1361#issuecomment-5655082942

   **Issue Evaluation**
   
   Category: `type/new feature` | Status: **Evaluated**
   
   **Feasibility:** Feasible — Java (#1188) and Go implementations already exist as reference
   **Scope:** Rust SDK — new `LiteSimpleConsumer` module
   **Compatibility:** Additive; no breaking changes
   
   This is a natural extension of the Rust SDK's lite consumption support. With `LitePushConsumer` already in place (#1227), adding `LiteSimpleConsumer` for pull-style consumption completes the lite consumer API surface. The Java and Go implementations provide a clear protocol and behavioral reference.
   
   ---
   *Automated evaluation by github-manager*
   


-- 
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: commits-unsubscribe@rocketmq.apache.org

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


Re: [I] [Rust] Support LiteSimpleConsumer [rocketmq-clients]

Posted by "zhaohai666 (via GitHub)" <gi...@apache.org>.
zhaohai666 commented on issue #1361:
URL: https://github.com/apache/rocketmq-clients/issues/1361#issuecomment-5692916623

   #1381 


-- 
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: commits-unsubscribe@rocketmq.apache.org

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


Re: [I] [Rust] Support LiteSimpleConsumer [rocketmq-clients]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #1361:
URL: https://github.com/apache/rocketmq-clients/issues/1361#issuecomment-6227440628

   This issue is stale because it has been open for 30 days with no activity. It will be closed in 3 days if no further activity occurs.


-- 
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: commits-unsubscribe@rocketmq.apache.org

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


Re: [I] [Rust] Support LiteSimpleConsumer [rocketmq-clients]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #1361: [Rust] Support LiteSimpleConsumer
URL: https://github.com/apache/rocketmq-clients/issues/1361


-- 
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: commits-unsubscribe@rocketmq.apache.org

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


Re: [I] [Rust] Support LiteSimpleConsumer [rocketmq-clients]

Posted by "RockteMQ-AI (via GitHub)" <gi...@apache.org>.
RockteMQ-AI commented on issue #1361:
URL: https://github.com/apache/rocketmq-clients/issues/1361#issuecomment-5691422631

   Here are the reference implementations for `LiteSimpleConsumer`:
   
   **Java** (PR #1188):
   - API interface: [`LiteSimpleConsumer.java`](https://github.com/apache/rocketmq-clients/blob/master/java/client-apis/src/main/java/org/apache/rocketmq/client/apis/consumer/LiteSimpleConsumer.java)
   - Builder interface: [`LiteSimpleConsumerBuilder.java`](https://github.com/apache/rocketmq-clients/blob/master/java/client-apis/src/main/java/org/apache/rocketmq/client/apis/consumer/LiteSimpleConsumerBuilder.java)
   - Implementation: [`LiteSimpleConsumerImpl.java`](https://github.com/apache/rocketmq-clients/blob/master/java/client/src/main/java/org/apache/rocketmq/client/java/impl/consumer/LiteSimpleConsumerImpl.java)
   - Builder impl: [`LiteSimpleConsumerBuilderImpl.java`](https://github.com/apache/rocketmq-clients/blob/master/java/client/src/main/java/org/apache/rocketmq/client/java/impl/consumer/LiteSimpleConsumerBuilderImpl.java)
   
   **Go** (PR #1314):
   - Implementation: [`lite_simple_consumer.go`](https://github.com/apache/rocketmq-clients/blob/master/golang/lite_simple_consumer.go)
   - Options: [`lite_simple_consumer_options.go`](https://github.com/apache/rocketmq-clients/blob/master/golang/lite_simple_consumer_options.go)
   - Example: [`example/consumer/lite_simple_consumer/main.go`](https://github.com/apache/rocketmq-clients/blob/master/golang/example/consumer/lite_simple_consumer/main.go)
   
   **Shared infrastructure** (also useful for Rust port):
   - Subscription manager (Go): [`lite_subscription_manager.go`](https://github.com/apache/rocketmq-clients/blob/master/golang/lite_subscription_manager.go)
   
   The Rust SDK already has `LitePushConsumer` (#1227) — the new `LiteSimpleConsumer` should follow the same patterns for lite-topic subscription management, ack routing, and client type registration.
   
   ---
   *Automated follow-up by github-manager*
   


-- 
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: commits-unsubscribe@rocketmq.apache.org

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


Re: [I] [Rust] Support LiteSimpleConsumer [rocketmq-clients]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #1361:
URL: https://github.com/apache/rocketmq-clients/issues/1361#issuecomment-6280649956

   This issue was closed because it has been inactive for 3 days since being marked as stale.


-- 
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: commits-unsubscribe@rocketmq.apache.org

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


Re: [I] [Rust] Support LiteSimpleConsumer [rocketmq-clients]

Posted by "RockteMQ-AI (via GitHub)" <gi...@apache.org>.
RockteMQ-AI commented on issue #1361:
URL: https://github.com/apache/rocketmq-clients/issues/1361#issuecomment-5524056403

   **Issue Evaluation**
   
   Category: `enhancement` | Status: **Evaluated**
   
   **Feasibility:** feasible
   **Scope:** Rust SDK (`rust/` module), gRPC protocol layer
   **Compatibility:** no breaking changes — additive API only
   
   This is a well-scoped feature request to achieve cross-language parity. Java (#1188) and Go (#1314) already have `LiteSimpleConsumer`. The proposal clearly outlines the required changes:
   - New `LiteSimpleConsumer` / `LiteSimpleConsumerTrait` types
   - New `ClientType::LiteSimpleConsumer = 6` variant
   - Lite-topic-aware queue selection
   - Ack/invisibleDuration passthrough for lite topic routing
   - Example file
   
   The implementation should follow the patterns established in the Java and Go SDKs for consistency.
   
   ---
   *Automated evaluation by github-manager*


-- 
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: commits-unsubscribe@rocketmq.apache.org

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