Skip to content

Commit 9f3f1a3

Browse files
[docs] Update the document to support asynchronous execution of cross-language resources (#745)
* [doc] FAQ: remove stale cross-language async limitation Cross-language resources now support async execution (#05ed9910), so async availability depends only on language/JDK. Drop the obsolete cross-language note and references. * [doc] FAQ: note cross-language async depends on Flink version Cross-language async needs the pemja 0.5.7 fix (Flink 1.20.5+/2.0.2+/ 2.1.3+/2.2.1+); current 2.2.0 builds still run synchronously. Per review on #745.
1 parent 1c829cb commit 9f3f1a3

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

docs/content/docs/faq/faq.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,17 +81,17 @@ Async execution can significantly improve performance by allowing multiple opera
8181
| Java (JDK 21+) | ✅ Supported (via Continuation API) |
8282
| Java (JDK < 21) | ❌ Not supported (falls back to synchronous execution) |
8383
84-
> **Cross-language async limitation**: When using cross-language resources (e.g., calling Java integrations from Python or vice versa), async execution is not supported. Cross-language calls always execute synchronously regardless of your JDK version.
85-
8684
This is important because:
8785
8886
- **For Python users**: Async execution is always available.
89-
- **For Java users on JDK 21+**: Async execution is available, so using native integrations (instead of cross-language) matters for performance.
90-
- **For Java users on JDK < 21**: Async execution is **not available regardless of whether you use native or cross-language integrations**. Therefore, the cross-language async limitation has **no additional performance impact** for these users.
87+
- **For Java users on JDK 21+**: Async execution is available.
88+
- **For Java users on JDK < 21**: Async execution is not available and falls back to synchronous execution.
89+
90+
> **Cross-language async note**: Async execution for cross-language resources requires the pemja 0.5.7 fix, available in Flink 1.20.5+ / 2.0.2+ / 2.1.3+ / 2.2.1+. Current builds target Flink 2.2.0, so cross-language calls still run synchronously for now; this is resolved automatically once running on a Flink version that includes the fix.
9191
9292
### Native Integration Support Matrix
9393
94-
Flink Agents provides built-in integrations for many ecosystem providers. Some integrations are only available in one language. For those marked as ❌, you can still use them from the other language via cross-language support, but cross-language calls do not support async execution.
94+
Flink Agents provides built-in integrations for many ecosystem providers. Some integrations are only available in one language. For those marked as ❌, you can still use them from the other language via cross-language support.
9595
9696
**Chat Models**
9797

0 commit comments

Comments
 (0)