Giter Site home page Giter Site logo

Comments (6)

mhart avatar mhart commented on June 12, 2024

The docs say "with precision in milliseconds" – not in milliseconds.

The example they give, 1459799926.480 – is in seconds.

from kinesalite.

chodyo avatar chodyo commented on June 12, 2024

Would it be viable for Kinesalite to add support to allow any valid timestamp, then? Before I started using this module I've been using the AWS API with timestamps in milliseconds, i.e.: 1459799926480 instead of 1459799926.480.

from kinesalite.

mhart avatar mhart commented on June 12, 2024

@chody-h can you show me some code? Did you mean one of the AWS SDKs, or are you calling the API manually?

from kinesalite.

chodyo avatar chodyo commented on June 12, 2024

We were using the getShardIterator method in the AWS SDK for Javascript, which also requires a timestamp with precision in milliseconds. I'm not confident anymore about how the Kinesis API handles timestamps in milliseconds because we had some time-related inconsistencies for which we never identified the root cause. Using milliseconds instead of seconds may have been our problem.

The API also notes that it accepts timestamp strings in the format 2016-04-04T19:58:46.480-00:00. Are there any plans for Kinesalite to allow that as well?

from kinesalite.

mhart avatar mhart commented on June 12, 2024

@chody-h I can look into that when I get the chance. Have changed this issue title accordingly.

from kinesalite.

chodyo avatar chodyo commented on June 12, 2024

Great, thanks for your time. Let me know if you'd like any help, I'd be happy to contribute.

from kinesalite.

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.