Skip to content

Conversation

@poorbarcode
Copy link
Contributor

@poorbarcode poorbarcode commented Oct 11, 2022

Fixes: #17221

Master Issue: #17221

Motivation

In the current implementation, if the schema ledger is lost, the pulsar client create consumer and pulsar client create producer will fail case by could not read the origin schema.

Modifications

If enabled autoSkipNonRecoverableData, when the schema ledger is lost, the consumer and producer can add new schemas without compatibility check(because the original schema definition cannot be found).

Verifying this change

When the schema ledger is lost, if the newly added schema is not compatible with the schema in the historical message, consumers will still fail (because the compatibility check has been skipped).

Documentation

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

Matching PR in forked repository

PR in forked repository:

@github-actions
Copy link

@poorbarcode Please add the following content to your PR description and select a checkbox:

- [ ] `doc` <!-- Your PR contains doc changes -->
- [ ] `doc-required` <!-- Your PR changes impact docs and you will update later -->
- [ ] `doc-not-needed` <!-- Your PR changes do not impact docs -->
- [ ] `doc-complete` <!-- Docs have been already added -->

@poorbarcode poorbarcode changed the title [ci-run][improve][broker]make consumer and producer can work even if schema ledger lost [improve] [broker] make consumer and producer can work even if schema ledger lost Oct 11, 2022
@github-actions github-actions bot added doc-not-needed Your PR changes do not impact docs and removed doc-label-missing labels Oct 11, 2022
@github-actions
Copy link

The pr had no activity for 30 days, mark with Stale label.

@github-actions github-actions bot added the Stale label Nov 12, 2022
@poorbarcode poorbarcode force-pushed the broken_ledger/schema branch from 5f71523 to 44f9bc6 Compare March 17, 2023 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-not-needed Your PR changes do not impact docs Stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make the autoSkipNonRecoverableData can work for schema Ledger

5 participants