You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For those interested I've managed to get around this by the following:
Setting sc.CodecCreationEnabled(false) (this is default anyway)
For each reference, download the schema (you may have to do this recursively). Then use a regex or string replacement to substitute that into the parent schema.
Build the codec using your new "flattened" schema which now doesn't contain any references.
Hi @bbrcan, thank you for raising this issue. It seems to be related to the behaviour around codec, and the underlying goavro package doesn't seem to have any documentation for reference types.
Hi there,
I have the following enum called Status:
And the following schema called Route:
When I try to load the Route schema via either
GetSchemaByVersion
orGetSchema
, I get back:Note I am using
sc.CodecCreationEnabled(true)
. Happy to disable this but then I'm not quite sure how I'd load the codec with the references.I've also tried referencing the Status type as
test.Status
in the Route schema, to no avail.Can you shed any light on why this might be occurring? Thank you
Using srclient 0.7.0, Golang 1.23
The text was updated successfully, but these errors were encountered: