Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v24.3.x][CORE-9029] schema_registry/protobuf: Rewrite and fix Normalization #25128

Merged
merged 22 commits into from
Mar 4, 2025

Conversation

BenPope
Copy link
Member

@BenPope BenPope commented Feb 21, 2025

Backport of PR #25094

Fixes #25125

BenPope and others added 20 commits February 21, 2025 09:33
Signed-off-by: Ben Pope <ben@redpanda.com>
(cherry picked from commit 30f9e63)
Signed-off-by: Ben Pope <ben@redpanda.com>
(cherry picked from commit 5813e2c)
Instead of rendering the proto, normalize the FileDescriptorProto and
and use DebugString.

Signed-off-by: Ben Pope <ben@redpanda.com>
(cherry picked from commit 6e83075)
…ntry

Note that this is not considered to be a valid protobuf message.
However some thirdparty tools do generate such proto schemas
and we support it for compatibility with those.
For their support, we use a patched protobuf library on our side.

(cherry picked from commit 3abd347)
@BenPope BenPope added area/schema-registry Schema Registry service within Redpanda kind/backport PRs targeting a stable branch labels Feb 21, 2025
@BenPope BenPope requested a review from IoannisRP February 21, 2025 09:55
@BenPope BenPope self-assigned this Feb 21, 2025
@BenPope BenPope added this to the v24.3.6 milestone Feb 21, 2025
@BenPope BenPope enabled auto-merge February 21, 2025 10:10
@BenPope BenPope disabled auto-merge February 21, 2025 10:54
Format is:
`DEBUG <DATE_TIME> [<SHARD>] <rest_proxy|schema_registry>_access - server.cc:<LINE_NO> -  <client_ip> <user> "<METHOD> <URL> <HTTP VERSION>" <STATUS CODE> <SIZE>`
E.g.:
`DEBUG 2022-11-01 18:00:05,305 [shard 0] rest_proxy - server.cc:128 - 127.0.0.1 user "GET /topics HTTP/1.1" 200 2`

Signed-off-by: Ben Pope <ben@redpanda.com>
(cherry picked from commit 093e790)
(cherry picked from commit 222e5fa)
Signed-off-by: Michael Boquard <michael@redpanda.com>
(cherry picked from commit 63b82c1)
@BenPope BenPope requested a review from IoannisRP February 24, 2025 18:15
@BenPope BenPope modified the milestones: v24.3.6, v24.3.7 Feb 24, 2025
@BenPope BenPope merged commit 432c167 into redpanda-data:v24.3.x Mar 4, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/redpanda area/schema-registry Schema Registry service within Redpanda kind/backport PRs targeting a stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants