avro_turf | A library that makes it easier to use the Avro | Serialization library
kandi X-RAY | avro_turf Summary
kandi X-RAY | avro_turf Summary
As of AvroTurf version 1.0.0, only top-level schemas that have their own .avsc file will be loaded and resolvable by the AvroTurf::SchemaStore#find method. This change will likely not affect most users. However, if you use AvroTurf::SchemaStore#load_schemas! to pre-cache all your schemas and then rely on AvroTurf::SchemaStore#find to access nested schemas that are not defined by their own .avsc files, your code may stop working when you upgrade to v1.0.0.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of avro_turf
avro_turf Key Features
avro_turf Examples and Code Snippets
Community Discussions
Trending Discussions on avro_turf
QUESTION
I have used Ruby gem avro_turf
to convert data to binary and publish it to Kafka. But I got an error unknown keyword: version
when try to encode data.
I have started Confluent Schema Registry on localhost:8081
. I can create and read subject on terminal.
I scan its source code, there is a "version" param in encode function.
I curl curl -X GET http://127.0.0.1:8081/subjects/avro-test/versions/1
to Schema Registry and get this data
ANSWER
Answered 2019-Jul-02 at 10:19I scan its source code, there is a "version" param in encode function.
Yes, the problem is, you're looking at the current state of master
branch. As of now, it contains unreleased changes, this keyword included.
So either wait for next version to be released, or use master directly
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install avro_turf
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page