goavro
goavro copied to clipboard
Exports an `AppendBlock` function which `Append` uses. Our use case is that we have a go routine that sends batches of `[]map[string]interface{}` over a channel and a reader which then...
The doc example (which shows up [here](https://pkg.go.dev/github.com/linkedin/goavro/v2)) still uses the old-style import without `/v2`. Updating it accordingly.
I'm stumbling with some strange behavior using Union and I don't understand if I'm missing something in using API or if it is a possible issue. Please check the following...
# Motivation Currently, developers calling the `Codec.Native` functions need to write glue code to traverse the returned `map[string]interface{}`s and convert the values. While this approach makes sense for maintaining the...
Execution continues following `fmt.Println(err)`. Since the go standard library uses a combination of `panic` and `log.Fatalf` in its examples, it's probably a good idea to use the same pattern here....
This PR ensures that a new byte slice is created in `bytesNativeFromBinary` instead of reusing the same byte slice as the input buffer. It ensures that the created slice is...
When decoding data that contains bytes fields, the returned byte slices reference the same underlying array as the input. This can cause unexpected behavior when manipulating those byte slices. Specifically...
For some valid schemas, goavro will incorrectly compute the canonical form. This results in an incorrect Rabin fingerprint. Due to the random nature of map iteration in golang, the fingerprint...
For some valid schemas, goavro will incorrectly compute the canonical form. This results in an incorrect Rabin fingerprint. Due to the random nature of map iteration in golang, the fingerprint...
My Sample code to convert the JSON String(value) to Avro Binary is as follows: ```` native, _, err := schema.Codec().NativeFromTextual([]byte(value)) if err != nil { return nil, err } valueBytes,...