Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
taupirho authored Jun 20, 2018
1 parent 76286e4 commit 61d4b87
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ you can think of a shard as a unit of processing potential. The more shards a st
and the faster it can process it.

After the stream was created it was just a matter of creating two python lambdas to read and write to it. Both lambdas are quite short
and I have put plenty of comments in so won't discuss them further here. The only slightly unusual thing is that neither lambda is triggered
by an event. They are stand-alone and can be run manually as and when required. In the real world the stream reading lambda in particular would
probably be triggered by a kinesis stream event. The only other thing to worry about is that the lambdas obviously need permission to read
and I have put plenty of comments in so won't discuss them further here. A slightly unusual feature is that neither lambda is triggered
by an event. They are stand-alone and can be run manually as and when required or more likely as part of an AWS Step function process.(see
my article on using step functions [here](https://github.com/taupirho/using-aws-step).
The only other thing to note is that the lambdas obviously need permission to read
and write to kinesis. I took the easy option and extended the default lambda-execution-role to allow all access to kinesis but again in
a production system you would want to nail this down to very specific permissions.

Expand Down

0 comments on commit 61d4b87

Please sign in to comment.