Giter Site home page Giter Site logo

Comments (5)

phunt avatar phunt commented on September 25, 2024

Hm. Hard to say, did you change the mail.avpr definition as well?

from avro-rpc-quickstart.

julianpeeters avatar julianpeeters commented on September 25, 2024

Thanks for the idea. I just now removed the avro-plugin and the mail.avpr after generating the classes in order to make sure I wasn't overwriting the files, and once again after attempting to modify them to use String the error is still there.

My current guess (likely wrong) is that SpecificRequestor can only handle Utf8 (to enforce efficiency?), but after looking through the source, I don't immediately see where it's doing that.

So maybe this is a "can't fix". Thanks for the eyes tho. I'm happy closing this issue and if I run across a solution I'll share what I find.

from avro-rpc-quickstart.

phunt avatar phunt commented on September 25, 2024

Sorry. I'm no where near an Avro expert - perhaps if you asked on the Avro mailing list?

from avro-rpc-quickstart.

julianpeeters avatar julianpeeters commented on September 25, 2024

No worries at all. Looks like someone beat me to it. Lots of views, but sadly no response :)

For completeness' sake, I'll report that the asker seems to have had the same error deserializing GenericRecords, and has an amusing example repo that seems to offer a solution of passing in both a reader schema and a writer schema. SpecificResponder however can only take a Class or a Protocol, and both result in the same error for me.

from avro-rpc-quickstart.

phunt avatar phunt commented on September 25, 2024

Lol. Thanks for the pointer. ttyl

from avro-rpc-quickstart.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.