Kinesis event stream processor
pip install humilis-kinesis-processor
Assuming you have virtualenv installed:
.env/bin/humilis configure --local
To run the local test suite:
Before running the integration test suite you need to set a few deployment secrets using the command:
s3keyring set [group]/[STAGE] [key] [secret]
humilis-kinesis-processor the following secrets need to be set:
sentry/dsn: The Sentry DSN.
By the default, the integration tests will deploy on a stage called
the command to set the Sentry DSN is:
s3keyring set humilis-kinesis-processor:DEV sentry.dsn [SENTRYDSN]
To run the integration test suite:
The command above will deploy a Kinesis processor to your AWS account, and will also create additional resources (such as several Kinesis streams) needed to test that the deployment was successful. Once deployed, the integration tests will run, and once they have completed the test environment will be destroyed.
If you do not want the test environment to be destroyed after tests have completed you should run instead:
make testi DESTROY=no
You can also modify the name of the deployment stage by setting the
environment variable. For instance, to deploy to a
make testi STAGE=TEST
See humilis documentation.
If you have questions, bug reports, suggestions, etc. please create an issue on the GitHub project page.
This software is licensed under the MIT license
See License file
© 2016 Anatoly Bubenkov, German Gomez-Herrero, FindHotel and others.