Giter Club home page Giter Club logo

kinesis-to-s3's People

Contributors

codeflows avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

kinesis-to-s3's Issues

Files in S3 bucket are not getting split

Hi ,

I am reading records from Kinesis Stream and writing it into S3 Bucket with below configuration in the properties file.

Name of the control table in DynamoDB

appName = KCLAPPLICATION

Source

kinesisInputStream = dev-test-kinesis-s3_AUGUST2017

Target

s3Bucket = dev-test-kinesis-s3-17aug-aug

Your AWS region

regionName = ap-southeast-2
retryLimit = 3

Flush buffer to S3 when any of these conditions is met:

bufferByteSizeLimit = 2097152

bufferMillisecondsLimit = 720000

bufferRecordCountLimit = 500

Though , i have given the above configuration for bufferByteSizeLimit ,bufferMillisecondsLimit, bufferRecordCountLimit ,but still i can see only single file in S3 bucket.

For Eg. if i am reading 2000 from kinesis which is around size of 2MB and which takes 2 minutes to process , so accordingly from the above configuration , i should have received 4 files in amazon S3 Bucket , each will contain 500 records.

But in S3 i am only getting single file with 2000 records only. i.e. these parameters are not working as intended . Same is for bufferMillisecondsLimit and bufferByteSizeLimit as well.

Could you please suggest , if still there is another configuration needs to be done in configuration file to make it split.

Contributing to this project

Great job on this project @codeflows

I've just set this up and have it running in production. I am thinking about contributing to this project. Is this something you'd be open to?

Specifically because I am running this in production I was thinking about scalability and error handling.

  • Scalability
    • What happens when 1 process cannot manage the load?
    • Can we run more than 1 process a time?
  • Error handling
    • What happens when there's an error?
    • Can anyone be notified of it?
    • Will data be lost?

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.