pub struct SourceTransformRequest {
pub keys: Vec<String>,
pub value: Vec<u8>,
pub watermark: DateTime<Utc>,
pub eventtime: DateTime<Utc>,
pub headers: HashMap<String, String>,
pub user_metadata: UserMetadata,
pub system_metadata: SystemMetadata,
}Expand description
Incoming request to the Source Transformer.
Fields§
§keys: Vec<String>keys are the keys in the (key, value) terminology of map/reduce paradigm.
value: Vec<u8>value is the value in (key, value) terminology of map/reduce paradigm.
watermark: DateTime<Utc>watermark represented by time is a guarantee that we will not see an element older than this time.
eventtime: DateTime<Utc>event_time is the time of the element as seen at source or aligned after a reduce operation.
headers: HashMap<String, String>Headers for the message.
user_metadata: UserMetadataUser metadata for the message.
system_metadata: SystemMetadataSystem metadata for the message.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SourceTransformRequest
impl RefUnwindSafe for SourceTransformRequest
impl Send for SourceTransformRequest
impl Sync for SourceTransformRequest
impl Unpin for SourceTransformRequest
impl UnwindSafe for SourceTransformRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request