Skip to content

Add the ability to emit custom events #34

@bvandewe

Description

@bvandewe

What would you like to be added?

It'd be super powerful if CloudShapes would enable users configuring triggers to define an optional custom event to be emitted/published after handling a trigger.

For example, we could easily subscribe CloudShape to any stream (in CloudStreams term) and have it maintain for example a Metrics projection with few custom metrics that are computed in real time whenever handling any event of the stream, right?

What if we'd want to display these metrics in a dashboard somewhere?

Right now, we could "simply" subscribe the dashboard' backend to receive all events that CloudShapes emits already... which is totally awesome BUT which forces the subscriber/backend to explicitly handle CS's event' types/schema and possibly handle a lot of unwanted/noise traffic (as CloudStreams would send ALL events from CloudShapes... right?)

Could CS allow users to define "custom" events (to be emitted) whenever handling a trigger in an incoming event - and by extension, and/or whenever a predefined data path changed in a projection?

Proposal(s):

No response

Alternative(s):

No response

Additional info:

No response

Community Notes

  • Please vote by adding a 👍 reaction to the feature to help us prioritize.
  • If you are interested to work on this feature, please leave a comment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions