Skip to main content

Humilis kinesis stream processor plugin

Project description

Kinesis event stream processor

.. |Build Status| image::
.. |PyPI| image::

|Build Status| |PyPI|

A `humilis <>`__ plugin to deploy a
`Lambda <>`__ function that
maps events in a `Kinesis <>`__
event stream using a list of Python callables.



pip install humilis-kinesis-processor


Assuming you have
`virtualenv <>`__ installed:


make develop

Configure humilis::

.env/bin/humilis configure --local


Unit tests

To run the local test suite::

make test

Integration tests

Before running the integration test suite you need to set a few deployment
secrets using the command::

s3keyring set [group]/[STAGE] [key] [secret]

In group ``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 ``DEV`` so
the command to set the Sentry DSN is::

s3keyring set humilis-kinesis-processor:DEV sentry.dsn [SENTRYDSN]

To run the integration test suite::

make testi

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 ``STAGE``
environment variable. For instance, to deploy to a ``TEST`` stage::

make testi STAGE=TEST

More information

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.


`Anatoly Bubenkov <>`_
initial idea and first alpha implementation
* `German Gomez-Herrero <>`_
actual implementation and further developments

These people have contributed to `humilis-kinesis-mapper`, in alphabetical order:



- Support for multiple delivery streams for input, error, and output(s)


- Support for one-to-many mappers


- Users can also specify input/output/error streams by name instead of as
references to another layer outputs.


- Set environment variables for the humilis environment/layer/stage


- Major bugfix: permission to put records in delivery streams


- Major bugfix: give permission to write state to DynamodDB


- Package becomes a generic map-multiplex-map processor (germangh)


- Cleanup package data (bubenkoff)


- Major refactoring to simplify and clean the code (germangh)


- Initial release (bubenkoff)

Project details

Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for humilis-kinesis-processor, version 0.8.2
Filename, size File type Python version Upload date Hashes
Filename, size humilis-kinesis-processor-0.8.2.tar.gz (10.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page