Commit graph

6 commits

Author SHA1 Message Date
kperry
f3eb53a703 Added condition expressions to ddb for updates and puts. rearranged some of the code in consumergroup to accomodate conditional expressions.
Moved the LeaseUpdate from consumergroup to ddb.go - it is only needed by ddb.go, and it is ddb.go specific.
Added some comments.
2019-05-20 14:47:55 -05:00
kperry
b47b611696 Initial commit with consumer groups. Still a lot of cleanup and testing to do. 2019-05-19 20:51:40 -05:00
Harlow Ward
f0e6461cb6 Refactor to use handler func
The previous pipeline model required a lot of setup and abstracted away
the processing of records. By passing a HandlerFunc to the consumer we
keep the business logic of processing of records closer to the use of
the consumer.

* Add refactoring note and SHA to README
2016-02-06 17:50:17 -08:00
Harlow Ward
cd54569c61 Use go-kit Log interface 2015-05-25 22:40:40 -07:00
dan
9371fb938c Logging and DB connection reuse
* Reuse Redshift DB connection
* Add more logging
2015-05-25 22:23:40 -07:00
Harlow Ward
b7f4cfc841 Remove custom config functions 2014-12-20 19:40:25 -08:00