Skip to content

[FLINK-39512][api] extend plugin with open and close life cycle#28011

Open
HuangZhenQiu wants to merge 1 commit intoapache:masterfrom
HuangZhenQiu:FLINK-39512-extend-plugin-interface
Open

[FLINK-39512][api] extend plugin with open and close life cycle#28011
HuangZhenQiu wants to merge 1 commit intoapache:masterfrom
HuangZhenQiu:FLINK-39512-extend-plugin-interface

Conversation

@HuangZhenQiu
Copy link
Copy Markdown
Contributor

What is the purpose of the change

Extend plugin interface with open and close life cycle for adding metadata of runtime to plugin and also release external resource needed for plugin

Brief change log

  • Add open and close default interface for plugin
  • Make plugin manager singleton and support open and close for all registered plugins
  • Add plugin open and close in TaskManagerRunner.

Verifying this change

  • Added test cases for PluginManager for testing the singleton of each type of loaded plugins
  • Added test cases for PluginUtils for testing the singleton of PluginManager.

Does this pull request potentially affect one of the following parts:

  • Dependencies (does it add or upgrade a dependency): (no)
  • The public API, i.e., is any changed class annotated with @Public(Evolving): (yes)
  • The serializers: (no)
  • The runtime per-record code paths (performance sensitive): (no)
  • Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
  • The S3 file system connector: (no)

Documentation

  • Does this pull request introduce a new feature? (no)
  • If yes, how is the feature documented? (not applicable)

Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

@HuangZhenQiu HuangZhenQiu force-pushed the FLINK-39512-extend-plugin-interface branch from c2623a3 to 69cb888 Compare April 23, 2026 16:32
@flinkbot
Copy link
Copy Markdown
Collaborator

flinkbot commented Apr 23, 2026

CI report:

Bot commands The @flinkbot bot supports the following commands:
  • @flinkbot run azure re-run the last Azure build

@HuangZhenQiu
Copy link
Copy Markdown
Contributor Author

@flinkbot run azure

1 similar comment
@HuangZhenQiu
Copy link
Copy Markdown
Contributor Author

@flinkbot run azure

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants