Namespace Silverback.Messaging.Serialization
Classes
AvroMessageDeserializerBase
The base class for AvroMessageSerializer<TMessage>.
AvroMessageDeserializer<TMessage>
Connects to the specified schema registry and serializes the messages in Apache Avro format.
AvroMessageSerializerBase
The base class for AvroMessageSerializer<TMessage>.
AvroMessageSerializer<TMessage>
Connects to the specified schema registry and serializes the messages in Apache Avro format.
DefaultKafkaMessageSerializer
The default implementation of a IKafkaMessageSerializer simply uses the provided IMessageSerializer for the value and treats the key as a UTF-8 encoded string.
DeserializerConsumerBehavior
Deserializes the messages being consumed using the configured IMessageSerializer.
JsonMessageSerializer
Serializes the messages in JSON format and relies on some added headers to determine the message type upon deserialization. This default serializer is ideal when the producer and the consumer are both using Silverback.
JsonMessageSerializerBase
The base class for JsonMessageSerializer and JsonMessageSerializer<TMessage>.
JsonMessageSerializer<TMessage>
Serializes and deserializes the messages of type TMessage
in JSON format.
MessageSerializationContext
The context that is passed from the producer or consumer to the serializer. It can be used to customize the serialization behavior according to the endpoint.
MessageSerializerException
The exception that is thrown by the IMessageSerializer implementations when the message cannot be serialized or deserialized. This exception is thrown only when a Silverback specific error occurs, other exceptions related to reflection or the underlying serializer are not wrapped.
NewtonsoftJsonMessageSerializer
Serializes the messages in JSON format and relies on some added headers to determine the message type upon deserialization. This default serializer is ideal when the producer and the consumer are both using Silverback.
NewtonsoftJsonMessageSerializerBase
The base class for NewtonsoftJsonMessageSerializer and NewtonsoftJsonMessageSerializer<TMessage>.
NewtonsoftJsonMessageSerializer<TMessage>
Serializes and deserializes the messages of type TMessage
in JSON format.
SerializerProducerBehavior
Serializes the message being produced using the configured IMessageSerializer.
Interfaces
IKafkaMessageSerializer
Serializes and deserializes the messages sent through Kafka.
IMessageSerializer
Serializes and deserializes the messages sent through the broker.
Enums
MessageEncoding
Specifies the message encoding used by some IMessageSerializer implementations.
NullMessageHandlingStrategy
The null message handling strategies.