Skip to main content

"zmq" Source

Connects to and receives lossless image frames (serialized with MessagePack) from a remote ZeroMQ PUB endpoint, unpacks the frames, and creates a new metadata object for each one.

This source is used to inject custom image frames into Nimble.

Along with the required source parameter type, the zmq source accepts the following additional properties:

  • address: The tcp:// URL of the remote ZeroMQ publisher to connect to. The fragment portion of the URL subscribes to a specific ZeroMQ topic string.

Examples

REST API

Create Source:

{
"type": "zmq",
"address": "tcp://publisher:1234/#topic"
}

Configuration File

Publisher Sample:

sources:
- type: zmq
address: "tcp://publisher:1234/#topic"