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
First of all, thank you for this amazing module, it really helped us
We are using it for automating schema registry operations for other teams with Git. Sometimes we've found strange errors when creating schemas, example:
"{"error_code":40403,"message":"Schema 2213 not found"}"
Our Schema Registry architecture is composed on multiple instances for high availability purposes. Checking module code, we realized "CreateSchema" method performs 2 operations:
Our hypothesis is, as the http requests are distributed between the different backends:
POST is routed to backend 1 (could be master or not, will redirect to master if not), successfully registering the schema
GET is routed to backend 2 (can't be master), which didn't fetch yet the change from the topic
Schema not found error is returned
Schema is available as it was successfully registered
At least this makes sense to us. I'm super happy contributing and making code changes, but i'd like to align with you on the approach, we've some things in mind:
Hi @adiglp, thank you for the thread and sorry for the late reply. I think decoupling them makes most sense. Could you provide a PR, preferably with a particular test please?
I'd also like to ask people facing the same issue, if this change is preferred or necessary (i.e. could you define a check on the caller function, and compare the error and do a getschema request there instead)
Hello,
First of all, thank you for this amazing module, it really helped us
We are using it for automating schema registry operations for other teams with Git. Sometimes we've found strange errors when creating schemas, example:
"{"error_code":40403,"message":"Schema 2213 not found"}"
Our Schema Registry architecture is composed on multiple instances for high availability purposes. Checking module code, we realized "CreateSchema" method performs 2 operations:
Our hypothesis is, as the http requests are distributed between the different backends:
At least this makes sense to us. I'm super happy contributing and making code changes, but i'd like to align with you on the approach, we've some things in mind:
If you need any additional detail, please let me know
Thanks in advance, Guille
The text was updated successfully, but these errors were encountered: