v2.15.1-events-rc
Pre-release
Pre-release
de-sh
released this
07 Oct 10:53
·
12 commits
to events
since this release
Significant Change
Data Events ensure that all data pushed to it's API is either stored on disk awaiting ack from broker or successfully delivered to the broker and thus accessible on the platform. Please ensure that whatever data you send through this is significantly low frequency as not to overwhelm the uplink setup, i.e. use only with critical data streams. To setup, add the following to uplink config:
[events]
enabled = true
port = 1234
Now you should be able to send HTTP requests such as following curl example and the request will only be acked if uplink was able to store into sqlite or push the packed onto the network:
curl -X POST http://localhost:1234/event -d "{\"stream\": \"event_stream\", \"sequence\": 1, \"timestamp\": $(date +%s%3N), \"some\": \"data\"}" -H 'Content-Type: application/json'
What's Changed
Full Changelog: v2.15.0...v2.15.1-events-rc