Comments (9)
Just found #24, apparently this is caused by an interaction with the JSON extensions applied by ActiveSupport, so would only be seen in environments that load ActiveSupport, such as a Rails application.
from avro_turf.
@dasch - Any chance we could get another release soon? The current v0.6.1
release was published in December 2015 and is incompatible with Rails.
from avro_turf.
I'll cut a new release next week.
On søn. 1. maj 2016 at 02.25, Brian McKelvey [email protected]
wrote:
@dasch https://github.com/dasch - Any chance we could get another
release soon? The current v0.6.1 release was published in December 2015
and is incompatible with Rails.—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#26 (comment)
from avro_turf.
@theturtle32 has this issue been fixed in the latest master?
from avro_turf.
@dasch Yes. Thank you!
from avro_turf.
Here's the monkey patch I'm using to fix this in v0.6.1 until the next release is available, in case anyone else also finds it helpful:
# The current version of AvroTurf (v0.6.1) is incompatible with ActiveSupport
# A pull request to fix it has already been merged, but this monkey-patch
# will be necessary until the next release
module AvroTurf::SchemaRegistryPatch
def register(subject, schema)
super(subject, schema.to_s)
end
def check(subject, schema)
super(subject, schema.to_s)
end
end
class AvroTurf::SchemaRegistry
prepend AvroTurf::SchemaRegistryPatch
end
from avro_turf.
from avro_turf.
Okay, v0.6.2 contains the latest changes.
from avro_turf.
Awesome, thank you!
from avro_turf.
Related Issues (20)
- avro_turf compatibility questions HOT 3
- zero length schema cache file
- Issue deserializing nested schema with a top-level enum.
- Decode only returns the first record. HOT 3
- Release with ruby 3 support? HOT 1
- SystemStackError: "stack level too deep", when enum stored in a separate .avsc file HOT 2
- Is it a problem to cache `latest`? HOT 1
- AWS Glue Schema Repository? HOT 1
- Re-using schema-registry clients for protobuf support? HOT 2
- Intermittent error using Confluent Schema Registry HOT 1
- SchemaStore cannot load records with a primitive type in a separate file
- Example on how to use Messaging api and a schema with referenced types? HOT 2
- Add RBS types, some refactoring and some small BC breaks HOT 4
- Logical types and as_avro HOT 2
- AvroTurf::SchemaStore load_schemas! depends on file order HOT 2
- AvroTurf::SchemaStore do not follow Avro specification when loading nested schemas HOT 5
- Add support for initializing AvroTurf::Messaging client with string/in-memory ssl_ca_cert HOT 1
- which parameters to use api-key and secret? HOT 2
- Excon's connect_timeout and dns_timeout HOT 2
- a way to improve encoding performance for messages batches when using AvroTurf::Messaging HOT 3
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 avro_turf.