RockteMQ-AI commented on issue #764:
URL: 
https://github.com/apache/rocketmq-spring/issues/764#issuecomment-5364754556

   **Issue Evaluation**
   
   Category: `bug` | Status: **Needs Investigation**
   
   The error `CODE: 24 DESC: the consumer's subscription not exist` indicates 
that the broker cannot find the consumer's subscription during message 
delivery. This typically happens when:
   
   1. The consumer group registration hasn't propagated to the broker yet
   2. There's a timing issue between consumer startup and broker subscription 
sync
   3. Spring Boot 2.4.x has a different bean initialization order that affects 
the subscription registration timing
   
   **Key observation:** The issue only occurs with Spring Boot 2.4.x and works 
with later versions. This suggests a compatibility issue in the bean lifecycle 
or auto-configuration ordering.
   
   **Recommended investigation:**
   - Check if `RocketMQAutoConfiguration` initialization order changed between 
Spring Boot 2.4.x and later
   - Verify the consumer subscription is registered before the first pull 
request is sent
   - Consider adding a retry or delay mechanism for the initial subscription 
sync
   
   ---
   *Automated evaluation by RockteMQ-AI*
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to