iggy
iggy copied to clipboard
Iggy website binary specification does not define MessageState
This definition:
pub struct Message {
pub offset: u64,
pub state: MessageState,
pub timestamp: u64,
pub id: u128,
pub checksum: u32,
pub headers: Option<HashMap<HeaderKey, HeaderValue>>,
pub length: u32,
pub payload: Bytes,
}
references a MessageState
enum that is not defined. From the Rust source code it should be defined as:
public enum MessageState {
Available, // Value = 1
Unavailable, // Value = 10
Poisoned, // Value = 20
MarkedForDeletion // Value = 30
}
You're correct, will update :)