nats-logo
LE NATS Pub Sub

Simple connection example with NATS message broker

v1.0.0

How it works

A simple docker application that subscribes to a topic on LE, performs calculations on it, and then publishes an output to another topic.

  • The python file used with this docker application is meant to be used as a template to understand how one connects to the NATs message broker via a python application
  • Currently, this file cannot be edited runtime to create custom calculations on the subscribed messages
  • The python file used in this docker application shows examples of how to connect to LE message broker, how to collect a window of values, how to perform any sort of calculations on that window of values (in this case, mean, variance and standard deviation) and how to publish desired output to LE message broker again
nats_gallery

You may also like

Machine Learning Classification - Featured Image

Machine Learning Classification Example

View all solutions