ZeroMQ Publisher Operator#
Authors: Holoscan SDK Team (NVIDIA)
Supported platforms: x86_64, aarch64
Language: Python
Last modified: March 9, 2026
Latest version: 1.1
Minimum Holoscan SDK version: 2.0.0
Tested Holoscan SDK versions: 2.5.0, 3.3.0
Contribution metric: Level 2 - Trusted
A Holoscan operator that publishes messages to a ZeroMQ message queue using the PUB/SUB pattern.
Overview#
The ZeroMQ Publisher Operator provides a standardized interface for publishing messages to a ZeroMQ message queue. It enables applications to send messages to subscribers while handling connection management and error handling.
Requirements#
- holoscan
- pyzmq
Example Usage#
Please check fhir_client.py in Generative AI Application on Holoscan integrating with FHIR Services.
Name Input/Output#
- Input:
message: Message to be published to ZeroMQ - Output: None
Parameters#
topic(str): Topic name for message filteringqueue_endpoint(str): ZeroMQ endpoint URL (e.g., "tcp://*:5556")
API Reference#
Python#
ZeroMQPublisherOp#
Inherits from: Operator
Named inputs: message: message to be published to 0MQ
Methods#
| Method | Description |
|---|---|
__init__(fragment) |
An operator that checks the messaging queue and emits the message to the request output. |
setup(spec) |
|
compute(op_input, op_output, context) |
Pulls the next message in the queue and emits it. |