Table of Contents

Namespace Savvyio.EventDriven.Messaging.CloudEvents

Assembly: Savvyio.Core.dll

CloudEvents is a CNCF standard for describing event data in a portable way. The Savvyio.EventDriven.Messaging.CloudEvents namespace adapts IMessage<T> envelopes to this format, enabling interoperability with CloudEvents-aware brokers and consumers.

Start with MessageExtensions.ToCloudEvent<T> to convert an IMessage<T> into a CloudEvent<T>. Use this namespace when the receiving service expects the CloudEvents schema rather than the native Savvy I/O message format. To add a cryptographic signature to the cloud event, see Savvyio.EventDriven.Messaging.CloudEvents.Cryptography.

Availability: .NET 10 and .NET 9

Extension Members

Type Ext Methods
IMessage ⬇️ ToCloudEvent<T>

Classes

CloudEvent

Provides the base class for an implementation of the ICloudEvent<T> interface.

CloudEvent<T>

Provides a default implementation of the ICloudEvent<T> interface.

MessageExtensions

Extension methods for the IMessage<T> interface.

Interfaces

ICloudEvent<T>

Defines a generic way to wrap an IRequest inside a CloudEvents compliant message format.