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

Upgrading to everit json-schema 1.14.4 breaks Kafka Connect conversions #3536

Closed
rayokota opened this issue Feb 2, 2025 · 0 comments
Closed

Comments

@rayokota
Copy link
Member

rayokota commented Feb 2, 2025

When converting a JSON schema to a Kafka Connect schema, field names were indexed by the order in which they were returned from CombinedSchema.getSubschemas() here. This order changed in everit-org/json-schema#498. That new change also relies on hashCode, which means the order is not guaranteed to be deterministic across JVM executions.

A possible fix is everit-org/json-schema#522, which guarantees the subschemas are always returned in insertion order, which is deterministic for a given JSON Schema, and across JVM executions.

One of the tests that breaks due to everit-org/json-schema#498 is here.

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

No branches or pull requests

1 participant