Publish/Unpublish Stream Workers
This page explains how to publish stream Macrometa workers. After you create a stream worker, you must publish it in order for it to run. If you want to stop it from running, then you can unpublish it.
- Web Console
- SDK
- REST API
- CLI
Follow these instructions to publish or unpublish a new stream worker using the GDN console web UI.
- Log in to your Macrometa account.
- Click Compute > Stream Workers.
- Click the Stream Workers tab.
- Find the stream worker you want to publish or unpublish in the stream worker list, and then click the toggle to change its publish status.
To see how to publish and unpublish (also called activate and deactivate) stream workers with the Macrometa Python SDK or JavaScript SDK, refer to the Stream Workers SDK Example.
Use our interactive API Reference with code generation in 18 programming languages to Publish or Unpublish a Stream Worker.
Use the gdnsl stream-worker CLI command to publish or unpublish a stream worker.