publish CLI command reference

Detailed information on the publish CLI command

Description

Publish an event to multiple consumers

Usage

dapr publish [flags]

Flags

Name Environment Variable Default Description
--pubsub Name of the pub/sub component
--data, -d (optional) a json serialized string
--help, -h Help for publish
--topic, -t The topic the app is listening on