MCPcopy Create free account
hub / github.com/Rustixir/tokio_sky / handle_message

Method handle_message

examples/kafka_processor_complex.rs:110–123  ·  view source on GitHub ↗
(&mut self, msg: OwnedDeliveryResult)

Source from the content-addressed store, hash-verified

108 async fn terminate(&mut self) {}
109
110 async fn handle_message(&mut self, msg: OwnedDeliveryResult) -> ProcResult<()> {
111
112 match msg {
113 Some((partition, offset)) => {
114
115 }
116 Err((kafka_err, msg)) => {
117
118 // TODO: Push to dead letter or requeue
119 }
120 }
121
122 ProcResult::Continue
123 }
124}
125
126

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected