Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/producer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ pub struct Message {
pub event_time: ::std::option::Option<u64>,
/// current version of the schema
pub schema_version: ::std::option::Option<Vec<u8>>,
/// UTC Unix timestamp in milliseconds, time at which the message should be
/// delivered to consumers
pub deliver_at_time: ::std::option::Option<i64>,
}

/// internal message type carrying options that must be defined
Expand Down Expand Up @@ -126,6 +129,7 @@ impl From<Message> for ProducerMessage {
replicate_to: m.replicate_to,
event_time: m.event_time,
schema_version: m.schema_version,
deliver_at_time: m.deliver_at_time,
..Default::default()
}
}
Expand Down
Loading