You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "asjfoajs (via GitHub)" <gi...@apache.org> on 2024/04/17 03:03:23 UTC

[I] [Enhancement] Enhancement title [rocketmq]

asjfoajs opened a new issue, #8028:
URL: https://github.com/apache/rocketmq/issues/8028

   ### Before Creating the Enhancement Request
   
   - [X] I have confirmed that this should be classified as an enhancement rather than a bug/feature.
   
   
   ### Summary
   
   Returned on the first message pull
   `Failed to receive message for group InitDelContainerGroup: CODE: INTERNAL_SERVER-ERROR, MESSAGE: null NullPointerException Org. apache. locketmq. proxy. grpc. v2. consumer Received Message Activity. receiver Message (Received Message Activity. java: 66)`
   View code discovery
   
   ![微信图片_20240417104009](https://github.com/apache/rocketmq/assets/52479111/ba4acace-b4a5-4f0a-85aa-fd84f26db4b5)
   ![微信图片_20240417104020](https://github.com/apache/rocketmq/assets/52479111/4f961b78-2da2-4831-b95a-ba9a4d67ec88)
   
   
   So when pulling messages without storing client information, I see that storing configuration messages is asynchronously submitted to the client thread pool, which means that the consumer was successfully created, but the configuration information has not been updated yet. When I delay pulling messages after starting the consumer for a period of time, there will be no error.
   So I want to return more detailed information to analyze the problem
   
   ### Motivation
   
   This modification will be more conducive to troubleshooting problems than null pointer exceptions.
   
   ### Describe the Solution You'd Like
   
   I want to refer to the client's heartbeat method to determine if it is empty and return Code.UNRECOGNIZED_CLIENT_TYPE, "cannot find client settings for this client"
   
   ### Describe Alternatives You've Considered
   
   I didn't think about it
   
   ### Additional Context
   
   _No response_


-- 
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] More detailed exception information returned when pulling messages [rocketmq]

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

   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] More detailed exception information returned when pulling messages [rocketmq]

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

   This issue is stale because it has been open for 365 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] More detailed exception information returned when pulling messages [rocketmq]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #8028: More detailed exception information returned when pulling messages
URL: https://github.com/apache/rocketmq/issues/8028


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