ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Attributes | List of all members
stream_message Struct Reference

A message stored in a JetStream stream. More...

#include <stream_message.hpp>

Collaboration diagram for stream_message:
Collaboration graph

Public Attributes

std::string subject
 
std::uint64_t sequence = 0
 
std::chrono::system_clock::time_point timestamp
 
std::vector< std::byte > data
 
std::unordered_map< std::string, std::string > headers
 

Detailed Description

A message stored in a JetStream stream.

Returned by jetstream_admin::peek_message() and peek_last_message(). The payload is raw bytes; callers interpret as UTF-8 JSON or binary.