Skip to content

amphro/streamer

Repository files navigation

CircleCI Downloads/week

streamer

Stream platform or streaming events to the console via a channel.

This plugin was build as part of a Dreamforce'18 talk. Here are the slides and the recording.

$ sfdx plugin:install @amphro/streamer
$ sfdx COMMAND
running command...
$ sfdx channel --help
USAGE
  $ sfdx COMMAND
...

sfdx channel:stream [CHANNEL]

stream platform or streaming events to the console via a channel

USAGE
  $ sfdx channel:stream [CHANNEL]

OPTIONS
  -r, --replayid=replayid                         a replayId to replay events from
  -u, --targetusername=targetusername             username or alias for the target org; overrides default target org
  --apiversion=apiversion                         override the api version used for api requests made by this command
  --json                                          format output as json
  --loglevel=(trace|debug|info|warn|error|fatal)  logging level for this command invocation

EXAMPLE
  sfdx channel:stream /event/MyEvent__e -u de -r 20

See code: src/commands/channel/stream.ts

About

Listen to platform or streaming events

Resources

Stars

Watchers

Forks

Packages

No packages published