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

Change usage of STRICT_VALIDATOR to UTF_VALIDATOR #474

Conversation

cunningt
Copy link
Collaborator

Change usage of STRICT_VALIDATOR to UTF_VALIDATOR; @jamesnetherton pointed out that UTF_VALIDATOR is the default and STRICT_VALIDATOR has additional requirements. Seems like the replacement to setValidate(true) is better matched to UTF_VALIDATOR

https://github.com/apache/avro/blob/release-1.12.0/lang/java/avro/src/main/java/org/apache/avro/Schema.java#L1433-L1435

Compiled, ran tests on camel-jackson-avro, made this change upstream as well apache#1273

@cunningt cunningt requested review from Croway and mcarlett October 31, 2024 12:47
@cunningt cunningt merged commit cd07040 into jboss-fuse:camel-spring-boot-4.8.0-branch Oct 31, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants