Skip to content

clairebianchi/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 will be linked here when posted.

$ 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

Languages

  • TypeScript 82.5%
  • Shell 12.6%
  • JavaScript 4.2%
  • Batchfile 0.7%