NoteClick here to go to documentation for the latest version of YugaByte DB.
PUBLISH channel message
This command publishes the given message to the specified channel. All subscribers that are subscribed to the specified channel across all the YugaByte YEDIS API server(s) in the cluster will receive the message.
Returns, as an integer value, the number of subscribers that the message was forwarded to.
$ PUBLISH channel message