Giter VIP home page Giter VIP logo

Comments (4)

mcohen01 avatar mcohen01 commented on August 29, 2024

Yeah, I guess I assumed if you were using clojure to read from kinesis that you were putting the records into kinesis from clojure, in which case they'd be nippy frozen. Bad assumption. I'll parameterize the unwrap function.

from amazonica.

mcohen01 avatar mcohen01 commented on August 29, 2024

The fix version is on Clojars. If you want control over serialization and deserialization, you can pass a nio.ByteBuffer to calls to (put-record), in which case it won't be nippy/frozen, and supply a :deserializer function to (get-records) or (worker!) calls, which will the nio.ByteBuffer as their only arg and can return anything, which will be available under the :data key, same as before. I think that should work for your case, no?

from amazonica.

paxan avatar paxan commented on August 29, 2024

Michael, thank you. This sounds great! It is not likely I will have a chance to test it until Feb 3, but it does seem exactly what we needed in our scenario.

On Sat, Jan 25, 2014 at 1:36 PM, Michael Cohen [email protected]
wrote:

The fix version is on Clojars. If you want control over serialization and deserialization, you can pass a nio.ByteBuffer to calls to (put-record), in which case it won't be nippy/frozen, and supply a :deserializer function to (get-records) or (worker!) calls, which will the nio.ByteBuffer as their only arg and can return anything, which will be available under the :data key, same as before. I think that should work for your case, no?

Reply to this email directly or view it on GitHub:
#36 (comment)

from amazonica.

paxan avatar paxan commented on August 29, 2024

Thank you, @mcohen01

Fixed by c50213f.

from amazonica.

Related Issues (20)

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.