Package eu.vstoyanov.natsy.codec
See: Description
-
Class Summary Class Description BinaryCodec ByteArray codec for raw binary data Builder Builder for CodecRegistry CodecRegistry Registry for message codecs used for serialization/deserializationSupports pluggable serialization strategies and automatic content-type negotiation DeadLetter Republish the raw undecodable message to subject, then drop it from this subscription. JsonCodec JSON codec using kotlinx. StringCodec Simple string codec for text messages CodecRegistryKt -
Object Summary Object Description SkipAndLog Log a warning and drop the message (the default). Throw Fail the flow with a eu.vstoyanov.natsy.exception.NatsyDecodeException, after terminating the message on JetStream. DeadLetterHeaders Headers stamped on every message published by DecodeErrorStrategy.DeadLetter, describing where the message came from and why it could not be decoded. -
Interface Summary Interface Description DecodeErrorStrategy What a subscription does with a message it cannot decode. MessageCodec Turns values of one type into bytes on the wire and back.