Skip to content

Missing ce_time header for CloudEvent feature #232

@vietk

Description

@vietk

When providing the cloud event metadata using the CloudEventContextHandler#setOutgoingContext, we are forced to supply the value for the time of the creation of the event.

   CloudEvent cloudEvent = cloudEventContextHandler.contextBuilder()
        .withSubject("mySubject")
        .withSource(URI.create("mysource")
        .withTime(OffsetDateTime.now())
        .build();

In order to reduce boiler plate code, the extension could creates this metadata when the message is serialized a bit like what reactive messaging is doing with cloud-events-insert-timestamp (default is true)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions