jason810496 commented on issue #67683: URL: https://github.com/apache/airflow/issues/67683#issuecomment-5140968340
I think it's reasonable to leave this out for now. Actually, I meant to support "multiplexing" in the Java-SDK execution path, rather than a `suspend`-based API, since `suspend` is Kotlin-specific in our previous offline discussion. As [Java SDK: Change coordinator comm to use multiplexing #69254](https://github.com/apache/airflow/pull/69254) merged, the runtime won't serialized each request and response. There is also an e2e test to exercise the concurrent example: https://github.com/apache/airflow/blob/e3ea8b29859b6a13f32e8f26d0fae433e58cc3af/java-sdk/example/src/java/org/apache/airflow/example/AnnotationExample.java#L79-L99 Threads and virtual threads are the more common concurrency model in the JVM, Anyway, we can reopen this if the `suspend` API turns out to be necessary. -- 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]
