Skip to content

[improve][client] PIP-420: Supports users implement external schemas #24488

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gaoran10
Copy link
Contributor

@gaoran10 gaoran10 commented Jul 6, 2025

Motivation

This is the implementation for PIP-420.

Modifications

Add a new SchemaType EXTERNAL and modify the corresponding protobuf messages.
Add a new method Map<String, String> getConfigs() for interface SchemaInfoProvider.
Add a new configuration schemaProperties for the Pulsar client builder.
Add ExternalSchemaCompatibilityCheck for the broker configuration files broker.conf and standalone.conf.
Close the schema while closing the Producer and Consumer.

Verifying this change

Add a test to verify the Schema interface changes.

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

If the box was checked, please highlight the changes

  • Dependencies (add or upgrade a dependency)
  • The public API
  • The schema
  • The default values of configurations
  • The threading model
  • The binary protocol
  • The REST endpoints
  • The admin CLI options
  • The metrics
  • Anything that affects deployment

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Matching PR in forked repository

PR in forked repository:

@gaoran10 gaoran10 self-assigned this Jul 6, 2025
@github-actions github-actions bot added the doc-required Your PR changes impact docs and you will update later. label Jul 6, 2025
@BewareMyPower BewareMyPower changed the title PIP-420 Supports users implement external schemas [improve][client] PIP-420: Supports users implement external schemas Jul 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-required Your PR changes impact docs and you will update later.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant