beliefer opened a new pull request, #41379: URL: https://github.com/apache/spark/pull/41379
### What changes were proposed in this pull request? `SparkConnectStreamHandler` treats the proto requests from connect client and send the responses back to connect client. `SparkConnectStreamHandler` holds a component `StreamObserver` to send responses. So I think we should keep the `StreamObserver` could be accessed only with `SparkConnectStreamHandler`. This PR want decouple the process handle commands and the other process send responses on server side. After this PR, we can remove `MockObserver` which seems is not useful. ### Why are the changes needed? Decouple handle command and send response on server side. ### Does this PR introduce _any_ user-facing change? 'No'. Just update the inner implementation. ### How was this patch tested? Exists test cases. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
