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

   ### Is Your Feature Request Related to a Problem?
   
   When using the gRPC Java SDK, I attempted to create a LitePushConsumer.
   
   The current Proxy implementation does not support LitePushConsumer, so the 
server closes the stream during initialization.
   
   However, the client only receives the following exception:
   
   `java.lang.IllegalStateException: Stream is already completed, no further 
calls are allowed`
   
   This exception does not indicate the real cause of the failure. There is 
also no corresponding Proxy log explaining why the connection was terminated.
   
   ### Describe the Solution You'd Like
   
   When the Proxy rejects or terminates a client connection because the 
requested consumer type is unsupported, it should:
   
   Log the actual reason on the Proxy side.
   Return a more descriptive gRPC status/message if possible (for example, 
indicating that LitePushConsumer is not currently supported).
   
   This would make troubleshooting much easier than relying on generic 
client-side exceptions.
   
   ### Describe Alternatives You've Considered
   
   Currently the only way to identify the root cause is to inspect the Proxy 
implementation or debug the server, since neither the client exception nor the 
server logs explain why the connection was closed.
   
   ### 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: [email protected]

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

Reply via email to