Skip to content

Add the ability to create multi attribute correlation strategy #40

@cdavernas

Description

@cdavernas

What would you like to be added?

Add the possibility to create a correlation key based on multiple context attributes.

Altough this is already feasible using runtime expressions, it would be a clear quality of life improvement for users who do not want to write needlessly complex expressions to achieve a very common use-case (see additional info).

Proposal(s):

No response

Alternative(s):

No response

Additional info:

As pointed out by @clemensv during the Cloud Shapes presentation of the 02/14/25 in the CNCF Serverless WG, the originating object of a CloudEvents is typically described by a combination of source and subject.

For example, a product Toothpaste sold in a store located in Avenue Louise would be identified by its source, https;//example.store.io/avenue-louise and by its subject colgate-toothpaste.
In CloudShapes, this should result in the composite correlation key https;//example.store.io/avenue-louise/colgate-toothpaste

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

Projects

Status

Backlog

Relationships

None yet

Development

No branches or pull requests

Issue actions