streambed / streambed-rs

Event driven services toolkit
Apache License 2.0
31 stars 5 forks source link

IoT service example #30

Closed huntc closed 1 year ago

huntc commented 1 year ago

This is an example that illustrates the use of Streambed which writes telemetry to an append log. A simple HTTP API is provided to query and scan the commit log.

The service is not a complete example given that encryption has been left out so that the example remains simple. Encryption should normally be applied to data at rest (persisted by the commit log) and in-flight (HTTP and UDP).

In addition, I've fixed up the serialisation of logged's storage. I was not serialising date-time well (it was a string!), and also there's no need to base64 encode its member values.

TODO: