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

Older schemas are registered as latest versions #329

Open
mpgxvii opened this issue Feb 7, 2023 · 0 comments
Open

Older schemas are registered as latest versions #329

mpgxvii opened this issue Feb 7, 2023 · 0 comments

Comments

@mpgxvii
Copy link
Member

mpgxvii commented Feb 7, 2023

When multiple schemas are available for a specific kafka topic, they are both registered as different versions. However, the issue arises when the older version of the schema is registered later (or the current/correct schema is registered first). This causes the older schema to have a higher version number, making it the default latest version (or the schema that is returned in /schema/subjects/[kafka_topic]/versions/latest), when the latest version should be the schema in the latest version of the specification file.

The issue is happening in the questionnaire_audio schema. The old schema .active.opensmile.OpenSmile2AudioRecording (aRMT spec version <= 1.4.2) is registered after the correct/latest schema .active.questionnaire.Questionnaire, which results in the old schema being returned in the latest endpoint.

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