Add NATS producer
Description
Adds a producer for NATS. I am using this in my environment so am sharing it back.
Fixes # (issue)
Type of change
Please select all options that apply to this change:
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] Documentation update
Checklist:
Confirm you have completed the following steps:
- [x] My code follows the style of this project.
- [x] I have performed a self-review of my code.
- [ ] I have made corresponding updates to the documentation.
- [x] I have added/updated unit tests to cover my changes.
- [x] I have added/updated integration tests to cover my changes.
nice, I was also thinking about this, but was kinda busy. currently, I just use mqtt on NATS and then use a jetstream to persist the messages and move them to KV.
nice, I was also thinking about this, but was kinda busy. currently, I just use mqtt on NATS and then use a jetstream to persist the messages and move them to KV.
I started with that but disliked the way the data was structured, and lost some of the other metadata.
I use nats also and have a Tesla.