Skip to content

[hotfix][docs] Document config options missing from the configuration reference - #28895

Open
spuru9 wants to merge 1 commit into
apache:masterfrom
spuru9:docs/undocumented-config-options
Open

[hotfix][docs] Document config options missing from the configuration reference#28895
spuru9 wants to merge 1 commit into
apache:masterfrom
spuru9:docs/undocumented-config-options

Conversation

@spuru9

@spuru9 spuru9 commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

What is the purpose of the change

Four config options never appeared in the documentation. rest.url-prefix and shuffle-service-factory.class carry no @Documentation.Section, so the generator emits them only into per-class tables that no page includes. Two PyFlink logging options were missing from the PyFlink configuration page.

Brief change log

  • Annotate rest.url-prefix with COMMON_HOST_PORT (matching its sibling rest.path) and shuffle-service-factory.class with EXPERT_CLUSTER; regenerate the two affected section tables.
  • Add python.logging.default.level and python.logging.level.overrides (added in FLINK-38690) to flink-python/docs/user_guide/configuration.rst.
  • Regenerate the Chinese message catalog via make gettext + sphinx-intl update. New entries are intentionally left untranslated.

Verifying this change

This change is already covered by existing tests: ConfigOptionsDocsCompletenessITCase, run with mvn package -pl flink-docs -am. Re-running the generator afterwards produces no further diff, and all four options now render on the configuration reference or the PyFlink configuration page.

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 — RestOptions and ShuffleServiceOptions are @PublicEvolving, but only a documentation annotation was added; no API change
  • 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)

Generated-by: Claude Code (claude-opus-5)

… reference

rest.url-prefix and shuffle-service-factory.class lacked
@Documentation.Section, so they were emitted only into per-class generated
tables that no documentation page includes. Annotate both and regenerate.

Also add python.logging.default.level and python.logging.level.overrides to
the PyFlink configuration page, and regenerate the Chinese message catalog.

Generated-by: Claude Code (claude-opus-5)
@flinkbot

flinkbot commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

CI report:

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

@spuru9

spuru9 commented Aug 3, 2026

Copy link
Copy Markdown
Contributor Author

@dianfu @davidradl Can you take a look

/**
* The full class name of the shuffle service factory implementation to be used by the cluster.
*/
@Documentation.Section(Documentation.Sections.EXPERT_CLUSTER)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Need some feeback on this.

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

Labels

community-reviewed PR has been reviewed by the community.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants