Skip to content

Outpost event metadata on a queue destination #294

@leggetter

Description

@leggetter

Related to #293

Upon receipt of an event on a queue destinations (at time of writing that's RabbitMQ and AWS SQS) there is no way to determine the event topic based on the payload or metadata.

For RabbitMQ, the topic is used as the routing key, so it's possible to configure a RabbitMQ exchange to route events based on the topic/routing key.

However, SQS has no concept of topics, and we do not presently include the topic value anywhere.

For webhooks, we include the topic in a header: {"x-outpost" | CUSTOM_HEADER}-topic. Should we include the topic within the metadata within a similar naming structure for queue destinations by default?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions