PUBLISH
Synopsis
PUBLISH channel message
This command publishes the given message to the specified channel. All subscribers that are subscribed to the specified channelacross all the Yugabyte YEDIS API server(s) in the cluster will receive the message.
Return value
Returns, as an integer value, the number of subscribers that the message was forwarded to.
Examples
$ PUBLISH channel message
2
See also
当前内容版权归 YugabyteDB 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 YugabyteDB .