You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(i) This issue has been manually transferred from a former internal repository, as a private repository issue cannot be transferred to a public repository.
As a CloudEvent may be passed between multiple intermediaries before being consumed, the intermediaries need to have a way to partition event streams to scale efficiently.
The partition extension provides a common way to provide a context attribute containing the partition key.
A typical partitionkey for events originating from one source is the source-id. Depending on the business case, the partitionkey may also be something else.
The text was updated successfully, but these errors were encountered:
On second thought using this extension should not be part of the MVP. The MVP concentrates on the usage of kafka as a transport. Kafka records inherently have a partitionkey, therefore this rule is not needed in the MVP.
BirgitBader
changed the title
[new rule] MUST use partitionkey context attribute (CloudEvents)
[new rule] must use partitionkey context attribute (CloudEvents)
May 16, 2023
(i) This issue has been manually transferred from a former internal repository, as a private repository issue cannot be transferred to a public repository.
Context
Many transport use partitioning as a way to perform scaling (see https://www.instaclustr.com/blog/the-power-of-kafka-partitions-how-to-get-the-most-out-of-your-kafka-cluster/).
As a CloudEvent may be passed between multiple intermediaries before being consumed, the intermediaries need to have a way to partition event streams to scale efficiently.
The partition extension provides a common way to provide a context attribute containing the partition key.
A typical
partitionkey
for events originating from one source is the source-id. Depending on the business case, thepartitionkey
may also be something else.The text was updated successfully, but these errors were encountered: