feat: implement nat broker consumer-provider
Description
- Added a separate nats module to handle the consuming and providing of events.
- Separated rest and nats for asker lib can be used with env vars
- Added concurrent consuming with mutex and lock aka rate limiter that is configured with env vars
Related issues
no related issues
Testing
no tests for now :(
Checklist
-
I have updated the documentation (if necessary) -
I have added unit tests for new functionality (if applicable) -
My code follows the style guidelines of this project -
I have tested this code on my local machine before submitting this MR
Additional Notes
No additional notes
Closes #7 (closed)
Edited by Zdravko Iliev