An input stream is used to configure what input data gets connected to Newton and how it gets processed and interpreted via a specific lens.Newton works both with files and continuous streams of sensor data from the physical world, including videos, live camera streams, timeseries data, among other sensors.A developer can hook up their custom sensor or pre-recorded files to an input data stream using a data connector.Common input data connectors are file readers, such as video and CSV readers, and streaming protocols, such as REST, Websockets, and Kafka.The full list of data connectors can be found in Data Connectors.
An output stream is used to configure what data gets streamed out of Newton and how that data first gets processed and interpreted via a lens.A developer can hook up the output of Newton to their custom app or downstream listener by connecting an output stream to an external protocol using a data Connector.Common output data connectors are streaming protocols, such as Server Side Events, REST, Websockets, and Kafka.The full list of data connectors can be found in Data Connectors.For API details on stream event types and usage, see Stream Event Types.