Skip to main content
Version: Next

EventRouter

Home > @backstage/plugin-events-node > EventRouter

Subscribes to a topic and - depending on a set of conditions - republishes the event to another topic.

Signature:

abstract class EventRouter 

Constructors

Constructor

Modifiers

Description

(constructor)(options)

protected

Constructs a new instance of the EventRouter class

Methods

Method

Modifiers

Description

determineDestinationTopic(params)

protected

abstract

getSubscriberId()

protected

abstract

onEvent(params)

subscribe()

Subscribes itself to the topic(s), after which events potentially can be received and processed by EventRouter.onEvent().