GitHub user ppluck deleted a comment on the discussion: Rust clients: I have an error for "..." while consuming a message.
supplement: I find this error while I debuged。 client.rs 285, here method only mathed RecoverOrphanedTransactionCommand, actually has others: ```rust Settings(super::Settings), ThreadStackTrace(super::ThreadStackTrace), VerifyMessageResult(super::VerifyMessageResult), RecoverOrphanedTransactionCommand(super::RecoverOrphanedTransactionCommand), PrintThreadStackTraceCommand(super::PrintThreadStackTraceCommand), VerifyMessageCommand(super::VerifyMessageCommand), ``` ```rust async fn handle_telemetry_command<T: RPCClient + 'static>( mut rpc_client: T, transaction_checker: &Option<Box<TransactionChecker>>, endpoints: Endpoints, command: pb::telemetry_command::Command, ) -> Result<(), ClientError> { return match command { RecoverOrphanedTransactionCommand(command) => { let transaction_id = command.transaction_id; let message = command.message.unwrap(); let message_id = message .system_properties .as_ref() .unwrap() .message_id .clone(); let topic = message.topic.as_ref().unwrap().clone(); if let Some(transaction_checker) = transaction_checker { let resolution = transaction_checker( transaction_id.clone(), MessageView::from_pb_message(message, endpoints), ); let response = rpc_client .end_transaction(EndTransactionRequest { topic: Some(topic), message_id: message_id.to_string(), transaction_id, resolution: resolution as i32, source: TransactionSource::SourceServerCheck as i32, trace_context: "".to_string(), }) .await?; Self::handle_response_status(response.status, OPERATION_END_TRANSACTION) } else { Err(ClientError::new( ErrorKind::Config, "failed to get transaction checker", OPERATION_END_TRANSACTION, )) } } _ => Err(ClientError::new( ErrorKind::Config, "receive telemetry command but there is no handler", OPERATION_HANDLE_TELEMETRY_COMMAND, ) .with_context("command", format!("{:?}", command))), }; } ``` GitHub link: https://github.com/apache/rocketmq-clients/discussions/737#discussioncomment-9232445 ---- This is an automatically sent email for dev@rocketmq.apache.org. To unsubscribe, please send an email to: dev-unsubscr...@rocketmq.apache.org