Skip to content

[v25.3.x] datalake: validate iceberg_rest_catalog_endpoint at config time#30569

Merged
WillemKauf merged 1 commit into
redpanda-data:v25.3.xfrom
vbotbuildovich:ai-backport-pr-30535-v25.3.x-1779323122
May 22, 2026
Merged

[v25.3.x] datalake: validate iceberg_rest_catalog_endpoint at config time#30569
WillemKauf merged 1 commit into
redpanda-data:v25.3.xfrom
vbotbuildovich:ai-backport-pr-30535-v25.3.x-1779323122

Conversation

@vbotbuildovich
Copy link
Copy Markdown
Collaborator

Backport of PR #30535

  • Command: git cherry-pick -x eaaaae4
  • Commits backported: 1
  • Conflicts resolved: 1
  • Commits skipped (already on target): 0
  • Backport branch: ai-backport-pr-30535-v25.3.x-1779323122

Conflict details

  • eaaaae4 (src/v/config/BUILD): implementation_deps conflicted because v25.3.x uses //src/v/thirdparty/openssl instead of @openssl. Kept the target branch's //src/v/thirdparty/openssl and added the new //src/v/datalake:validators dep from the cherry-picked commit.

A malformed `iceberg_rest_catalog_endpoint` (e.g. one that fails
`ada::parse`) causes start-up to fail, originating from a throw in
`endpoint_to_address` and propagated out of `datalake_manager::start()`/
`coordinator_manager::start()`. There is no opportunity for the user to
correct the value short of editing the cluster config file by hand.

Extract the URL-parse check into `datalake::parse_iceberg_rest_catalog_endpoint()`,
have `endpoint_to_address` call it first, and apply the same check as a
property validator on `iceberg_rest_catalog_endpoint` so bad values are
rejected by `rpk cluster config set` rather than crashing the broker on
the next restart.

(cherry picked from commit eaaaae4)
@vbotbuildovich vbotbuildovich requested a review from a team as a code owner May 21, 2026 00:27
@vbotbuildovich vbotbuildovich added this to the v25.3.x-next milestone May 21, 2026
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label May 21, 2026
@vbotbuildovich vbotbuildovich requested a review from WillemKauf May 21, 2026 00:27
@WillemKauf WillemKauf merged commit 9d249e6 into redpanda-data:v25.3.x May 22, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/build area/redpanda kind/backport PRs targeting a stable branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants