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

Expand CLI to add a PUT command #11

Open
lancecarlson opened this issue Aug 25, 2014 · 3 comments
Open

Expand CLI to add a PUT command #11

lancecarlson opened this issue Aug 25, 2014 · 3 comments

Comments

@lancecarlson
Copy link

It would be cool if you there was a CLI for doing the following:

cat something.txt | kinesis-cli <stream-name>

something along those lines. I could imagine creating very simple producers this way. Thoughts?

@le0pard
Copy link
Contributor

le0pard commented Aug 26, 2014

Good idea. Right now I don't have time to add this feature, but can accept pull request.

@lancecarlson
Copy link
Author

I started to implement something, but wasn't sure about an implementation detail. Do you think that it would make sense to split the input line by line and create a new PUT for each line?

If this is how it should work, should the partition keys just autoincrement ?

@le0pard
Copy link
Contributor

le0pard commented Aug 26, 2014

@lancecarlson I hope you know how it should work, because in most cases I using API. Split can be better, because max message size in kinesis - 50kB.

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