Skip to content

Feat job name config#570

Open
qingfei1994 wants to merge 4 commits intoapache:mainfrom
qingfei1994:feat-job-name-config
Open

Feat job name config#570
qingfei1994 wants to merge 4 commits intoapache:mainfrom
qingfei1994:feat-job-name-config

Conversation

@qingfei1994
Copy link
Contributor

@qingfei1994 qingfei1994 commented Mar 13, 2026

Linked issue: #560

Purpose of change

Users can customize Job Name of Flink Agents.

Tests

UnitTest

API

Yes

Documentation

  • doc-needed
  • doc-not-needed
  • doc-included

@github-actions github-actions bot added priority/major Default priority of the PR or issue. fixVersion/0.3.0 The feature or bug should be implemented/fixed in the 0.3.0 version. doc-label-missing The Bot applies this label either because none or multiple labels were provided. labels Mar 13, 2026
@github-actions
Copy link

@qingfei1994 Please add the following content to your PR description and select a checkbox:

- [ ] `doc-needed` 
- [ ] `doc-not-needed` <!-- Your PR changes do not impact docs -->
- [ ] `doc-included` 

@github-actions github-actions bot added doc-not-needed Your PR changes do not impact docs and removed doc-label-missing The Bot applies this label either because none or multiple labels were provided. labels Mar 13, 2026
Copy link
Collaborator

@wenjin272 wenjin272 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, @qingfei1994, thanks for you work. The python part looks good to me, but the java part seems not complete.

* @param jobName The name for the Flink job.
*/
public void execute(String jobName) throws Exception {
execute();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The job name is not passed to the underlying Flink execution environment.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My first thought is to providing an optional execute with jobName method for other execution environment like LocalExecutionEnvironment which doesn't support executing with jobName, but since then I think I would just provide an abstract method here.

@wenjin272
Copy link
Collaborator

The logic code looks good to me. Could you add test for the java api like what you do in python?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-not-needed Your PR changes do not impact docs fixVersion/0.3.0 The feature or bug should be implemented/fixed in the 0.3.0 version. priority/major Default priority of the PR or issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants