v0.2.4
Add avroregistrytest
package to ease integration testing against a real schema registry. #88
From README:
A github.com/heetch/avro/avroregistrytest package is provided to run integration test against a real schema registry.
import "github.com/heetch/avro/avroregistrytest"
type X struct {
A int
}
avroregistrytest.Register(context.Background(), t, X{}, "test-topic")
This code snippet register an avro type for X struct for test-topic in the schema registry defined by KAFKA_REGISTRY_ADDR environment variable that must set to host:port form.