You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "juliuszsompolski (via GitHub)" <gi...@apache.org> on 2023/07/05 08:50:06 UTC

[GitHub] [spark] juliuszsompolski commented on pull request #41527: [SPARK-43879][CONNECT] Decouple handle command and send response on server side

juliuszsompolski commented on PR #41527:
URL: https://github.com/apache/spark/pull/41527#issuecomment-1621315457

   @beliefer In what I've been working on:
   > Code Design
   
   I do plan to have SparkConnectStreamHandler be responsible for sending the RPCs. That's not yet ready in my PR, in the current iteration I had the execution thread send the RPCs, but I need to hand it over back to the SparkConnectStreamHandler thread.
   
   > Visibility
   I avoid the need for the refactoring by instead passing my own class implementing the `StreamObserver` interface that is just going to notify the "real" `StreamObserver` that there is something to be sent. This way I avoid the need for refactoring, and the StreamObserver is fine as an interface to be passed around.


-- 
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: reviews-unsubscribe@spark.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org