aklivity / zilla-examples

A collection of pre-canned Zilla feature demos. Deploy on K8s via Helm.
https://github.com/aklivity/zilla
Other
23 stars 13 forks source link

Add streetlight service that turns mqtt streetlight publish actions to events #120

Open bmaidics opened 4 months ago

bmaidics commented 4 months ago

In order to make the demo more compelling, we should add a service that turns mqtt streetlight publish actions to events, so we don't need to modify the original streetlight asyncapi yaml.

jfallows commented 4 months ago

Note: this should be an mqtt service simulating the streetlight IoT device.

Therefore, we need a service-perspective AsyncAPI documents as well as a client-perspective AsyncAPI documents to fully support the scenario without needing to change the client-perspective AsyncAPI documents we already have.

Note: it may be possible to create each service-perspective AsyncAPI document by simply inverting the polarity of send and receive operations, so for now we assume that is the case and that it happens outside zilla.