-
Notifications
You must be signed in to change notification settings - Fork 71
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
Schema Validation changes after upgrading to v2.7.0 from v1.27.9 #485
Comments
If this helps, below is the line in the source code (like 459) that prints out the error we are seeing in the logs
The function “schemaValidateCheck” was added to the code base on May 31st, 2023 |
Hi @gautam-goudar ! Forward and full compatibility are not recommended for Protobuf. The compatibility matrix remained the same across SR releases.
Here are some links that might be helpful: https://docs.confluent.io/platform/current/schema-registry/fundamentals/schema-evolution.html#summary and https://www.confluent.io/blog/best-practices-for-confluent-schema-registry/ . That being said, I'm double checking with our team to see if there is anything else that we might have missed. |
Thanks. We are using "BACKWARD" compatibility for out protobuf schema. For this very same reason, we are not sure why we are seeing the error when a new message is added to evolve schema. |
@gautam-goudar, it's a bit surprising to see that it worked in the first place, considering the validation fails. 🤔 Could you try setting Given that this flag was likely introduced after we added validation to terraform plan, and your terraform plan fails already, you might have to add |
@gautam-goudar did you get a chance to try out our suggestion above? |
I haven't tried this yet. I'll let you know when I do (sometime this week). Thanks for checking |
@gautam-goudar did you get a chance to try out our suggestion above? |
I'm closing this one due to inactivity, but feel free to reopen it if the suggested fix doesn't work. |
Have subsequent upgrades to the Terraform provider changed the schema validation mechanism?
When using v1.27.0, we are able to upgrade the schema with BACKWARD compatibility by
Example
With v1.27.0, we were able to deploy v2 with the above changes by adding the field
calculation
of typeTemporaryOperatingPermitCalculation
.Now after upgrading to v2.7.0, the same pipeline returns the below error (without any changes)
What is the solution to this error? Please help.
Thanks
The text was updated successfully, but these errors were encountered: