{"repo":"loadsmart/django-jaiminho","free":true,"listed":false,"github":"https://github.com/loadsmart/django-jaiminho","clone":"git clone https://github.com/loadsmart/django-jaiminho.git","description":"A broker agnostic implementation of outbox and other message resilience patterns for Django apps.","language":"Python","stars":34,"topics":["django","orm","outbox","outbox-pattern","dualwrite"],"license":"MIT","category":"databases-storage","readme_excerpt":"jaiminho A broker agnostic implementation of the outbox and other message resilience patterns for Django apps. Migrating from 1.x.x SIGN EVENTS and VERIFY EVENTS SIGNATURE are enabled by default once you install the latest version. However, if you're migrating from a previous version to the latest one, you'll have to do it in two steps: - Install the latest version of django-jaiminho and set VERIFY EVENTS SIGNATURE to False ; - Ensure there are no unsent events without a signature and set VERIFY EVENTS SIGNATURE to True . If there are unset events without a signature and VERIFY EVENTS SIGNATURE is enabled, your events will be considered tampered and won't be relayed. Getting Started To use jaiminho with your project, you just need to do 6 steps: 1 - Install it 2 - Add jaiminho to the INSTALLED APPS 3 - Run migrations 4 - Configure jaiminho options in Django settings.py: 5 - Decorate your functions with @save to outbox If your project writes to more than one database, pass the alias your decorated function's transaction runs on through the using argument, so the outbox event is persisted and the on-commit hook is bound to that same alias: @save to outbox stream accepts the same using argument. When omitted, Jaiminho keeps its previous behavior of relying on Django's default database alias. 6 - Run the relay events command If you don't use --run-in-loop option, the relay command will run only 1 time. This is useful in case you want to configure it as a cronjob. Details Jaiminho","default_branch":null,"files":null,"tree":[],"storefront":"/r/loadsmart","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/loadsmart/django-jaiminho/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}