[
https://issues.apache.org/jira/browse/FLINK-25495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17468330#comment-17468330
]
Junfan Zhang commented on FLINK-25495:
--------------------------------------
Thanks for your reply [~trohrmann]
As I know, flink cli don't support attach mode when using the Application mode,
refer to
https://github.com/apache/flink/blob/99c2a415e9eeefafacf70762b6f54070f7911ceb/flink-clients/src/main/java/org/apache/flink/client/deployment/application/cli/ApplicationClusterDeployer.java#L67.
But I hope that the flink client couldn't exit until the application finished,
especially in batch.
> Client support attach mode when using the deployment of application mode
> ------------------------------------------------------------------------
>
> Key: FLINK-25495
> URL: https://issues.apache.org/jira/browse/FLINK-25495
> Project: Flink
> Issue Type: Improvement
> Components: Client / Job Submission
> Reporter: Junfan Zhang
> Priority: Major
>
> h2. Why
> In our internal data platform, we support flink batch and streaming job
> submission. To reduce the submission worker overload, we use the Flink
> application mode to submit flink job. It's a nice feature!
> However, on batch mode, we hope flink client couldn't exit until the batch
> application finished (No need to get job result, just wait). Now the flink
> lack this feature, and it is not stated in the document that Application Mode
> does not support attach.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)