PatchedMessage
faststream.nats.test.PatchedMessage #
Bases: Msg
Ack #
Metadata dataclass #
Metadata is the metadata from a JetStream message.
- num_pending is the number of available messages in the Stream that have not been consumed yet.
- num_delivered is the number of times that this message has been delivered. For example, num_delivered higher than one means that there have been redeliveries.
- timestamp is the time at which the message was delivered.
- stream is the name of the stream.
- consumer is the name of the consumer.
ack async #
ack_sync async #
in_progress async #
nak async #
respond async #
respond replies to the inbox of the message if there is one.