Closed biryukovmaxim closed 2 years ago
Whant use something like that:
var srcErr srclient.Error schema, err := c.schemaRegistryClient.GetLatestSchema(topicName) if err != nil && errors.As(err, &srcErr) && srcErr.Code != 40401 { return err }
if Code == 40401 needs to create schema
I sent PR to solve it https://github.com/riferrei/srclient/pull/59
Whant use something like that:
if Code == 40401 needs to create schema
I sent PR to solve it https://github.com/riferrei/srclient/pull/59