Skip to content

NIFI-15960 Replaced current property in AvroSchemaRegistry with a new one which utilizes a validation strategy where it details what Avro validations occur when choosing strict validation of Avro schemas.#11290

Merged
pvillard31 merged 6 commits into
apache:mainfrom
dan-s1:NIFI-15960
Jul 8, 2026

Conversation

@dan-s1

@dan-s1 dan-s1 commented May 27, 2026

Copy link
Copy Markdown
Contributor

Summary

NIFI-15960

This PR primarily details the various validations which occur when strict validation is chosen for validating Avro schemas in the AvroSchemaRegistry. The unit tests were overhauled to use the NIFI testing framework and multiple unit tests were added especially to contrast the difference between strict and lenient validation of Avro schemas.

Tracking

Please complete the following tracking steps prior to pull request creation.

Issue Tracking

Pull Request Tracking

  • Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
  • Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000
  • Pull request contains commits signed with a registered key indicating Verified status

Pull Request Formatting

  • Pull Request based on current revision of the main branch
  • Pull Request refers to a feature branch with one commit containing changes

Verification

Please indicate the verification steps performed prior to pull request creation.

Build

  • Build completed using ./mvnw clean install -P contrib-check
    • JDK 21
    • JDK 25

Licensing

  • New dependencies are compatible with the Apache License 2.0 according to the License Policy
  • New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

  • Documentation formatting appears as expected in rendered files

@dan-s1

dan-s1 commented Jun 12, 2026

Copy link
Copy Markdown
Contributor Author

@pvillard31 Thank you very much for approving my other PRs. Can you please take another look at this PR? My teammates are interested in having this documentation so it is clear what parts of the Avro schema are validated. Thanks!

@dan-s1 dan-s1 added the type: docs Pull Requests for changes to documentation label Jun 15, 2026
dan-s1 added 6 commits July 8, 2026 17:21
… one which utilizes a validation strategy where it details what Avro validations occur when choosing strict validation of Avro schemas.
…t what the Avro code actually does (i.e. validate or does not validate).
…egy and asserted only the obsolete name that was actually present was removed.
@dan-s1
dan-s1 requested a review from pvillard31 July 8, 2026 18:08
@pvillard31
pvillard31 merged commit 931d4c2 into apache:main Jul 8, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement type: docs Pull Requests for changes to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants