Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not dumping all events #1

Closed
bamos opened this issue Dec 23, 2013 · 9 comments
Closed

Not dumping all events #1

bamos opened this issue Dec 23, 2013 · 9 comments
Assignees

Comments

@bamos
Copy link
Contributor

bamos commented Dec 23, 2013

I'm not sure if this is a quirk of Kinesis or something I did wrong, but
sometimes this only prints the first 8 events rather than all 10.

@alexanderdean
Copy link
Member

Interesting... Wonder if it could be something to do with record ordering somehow...

@bamos
Copy link
Contributor Author

bamos commented Jan 2, 2014

Hi @alexanderdean, using the Kinesis API directly in the commit above didn't fix the issue. I'm still seeing records disappear. What should I try next? Do you want me to write up a bug report for you to send to Amazon?

@bamos
Copy link
Contributor Author

bamos commented Jan 2, 2014

By the way, the horizon is part of the shard iterator and determines if the iterator should start at the beginning and pass through all shards, or at the end and only iterate through new shards.

Scalazon and this example uses TRIM_HORIZON, which starts the iterator at the beginning of the stream, but using LATEST also seems helpful, especially since we're interested in real-time processing.
The documentation reads like a real-time consumer application should continuously poll for new data, but I haven't tried anything myself.

Open a new issue if you want me to add real-time processing as an option to our consumer.

@alexanderdean
Copy link
Member

Thanks @bamos - new ticket opened.

The fact that we are starting explicitly from the beginning of the stream and still missing records makes it sound like an Amazon issue to me... If you could write up the bug report in a public gist or similar, I will file it with AWS Support today.

Thanks @bamos!

@bamos
Copy link
Contributor Author

bamos commented Jan 2, 2014

Hi @alexanderdean, can you send https://gist.github.com/bamos/8221224?

@alexanderdean
Copy link
Member

Thanks @bamos! Opened Support case: 146910911. You are on CC so should see updates as they come through.

@bamos
Copy link
Contributor Author

bamos commented Jan 2, 2014

Awesome, will be interested to see what they say!

@alexanderdean
Copy link
Member

We shall see! Normally the bigger bug, the faster their response :-)

bamos pushed a commit that referenced this issue Jan 6, 2014
… handle different data types. #6. This adds real-time processing for #5 and will dump all events for #1.
@bamos
Copy link
Contributor Author

bamos commented Jan 6, 2014

Hi @alexanderdean, I've merged everything into the feature/bamos-updates branch and everything's working smoothly for these issues. Please open (or reopen) if you want me to change anything on the Kinesis consumer.

@bamos bamos closed this as completed Jan 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants