Comments (2)
// Codec ensures access to Codec
// Will try to initialize a new one if it hasn't been initialized before
// Will return nil if it can't initialize a codec from the schema
func (schema *Schema) Codec() *goavro.Codec {
if schema.codec == nil {
codec, err := goavro.NewCodec(schema.Schema())
if err == nil {
schema.codec = codec
}
}
return schema.codec
}
The function Codec()
return nill, and not return the err info...
from srclient.
the real reason is linkedin/goavro#202: The goavro, which srcclient used to decode arvo bytes, not support decimal
type.
from srclient.
Related Issues (20)
- functional options and linting HOT 1
- Support Protobuf Codec
- Schema not found errors when creating schemas HOT 2
- Retrieve schema registry URL HOT 4
- Suport Karapace HOT 3
- Can't create schema with .avsc file HOT 1
- https connection to API endpoint
- SRClient fails and terminates application on error from schema registry HOT 4
- CreateSchema method HOT 4
- Metrics HOT 15
- Missing field in GetSchema HOT 2
- Https support HOT 2
- Bearer Authentication Missing
- GetSchema() call does not return schema references as part of the return Schema HOT 5
- Schema name used for avro serialized data HOT 2
- Extending Integration Tests (help wanted)
- CreateMockSchemaRegistryClient gives no codec HOT 4
- integration with sarama? HOT 1
- Using JSON with schema registry HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from srclient.