Skip to content

Store $SYS messages in jetstream #5046

Answered by wallyqs
rafsawicki asked this question in Q&A
Discussion options

You must be logged in to vote

@rafsawicki you need to do it as a an import from another account that has JS enabled:

accounts {
  sys {
    users = [
      { user: mysys, pass: mysys }
    ]
    exports = [
      { stream: '$SYS.ACCOUNT.>' }
    ]
  }
  sysevents {
    jetstream = enabled
    users = [
      { user: myjs, pass: myjs }
    ]
    imports = [
      { stream { subject: '$SYS.ACCOUNT.>', account: sys } }
    ]
  }
}

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@wallyqs
Comment options

Answer selected by rafsawicki
@rafsawicki
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants