You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
INFO create session success, peer: ...
DEBG start session success, peer: ...
DEBG query route for topic=test-topic, component: ...
DEBG receive telemetry command: TelemetryCommand { status: Some(Status { code: Ok, ...
DEBG send heartbeat to server success, peer=...
ERRO \client.rs:196:33] handle telemetry command failed: Failed to parse config at client.handle_telemetry_command =>
receive telemetry command but there is no handler
Context:
command: Settings(Settings { client_type: Some(SimpleConsumer), access_point: None, ...
DEBG query route for topic=test-topic success: route=Route { index: 0, queue: [MessageQueue ...
INFO update route for topic=test-topic, component: client
INFO simple_consumer.rs:99:9] start simple consumer success, client_id: ...
DEBG client.rs:201:25] receive shutdown signal, stop heartbeat task and telemetry command handler,...
INFO client.rs:206:13] heartbeat task and telemetry command handler are stopped,...
code:
letmut consumer_option = SimpleConsumerOption::default();
consumer_option.set_topics(vec!["test-topic"]);
consumer_option.set_consumer_group("CG-test");// set which rocketmq proxy to connectletmut client_option = ClientOption::default();// producer type
client_option.set_access_url("localhost:8081");
client_option.set_access_key("CG-test");// This is a company agreement
client_option.set_secret_key("CT-xxxx");// This is a company agreement// build and start simple consumerletmut consumer = SimpleConsumer::new(consumer_option, client_option).unwrap();
consumer.start().await.unwrap();// pop message from rocketmq proxylet receive_result = consumer
.receive("test-topic".to_string(),&FilterExpression::new(FilterType::Tag,"*"),).await;let messages = receive_result.unwrap();for message in messages {println!("receive message: {:?}", message);// ack message to rocketmq proxylet ack_result = consumer.ack(&message).await;}
supplement:
I found this error while I was debugging.
client.rs 285, here method only mathed RecoverOrphanedTransactionCommand, actually has others:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I need your help. thanks!
rmq cluster: 5.0
the log:
supplement:
I found this error while I was debugging.
client.rs 285, here method only mathed RecoverOrphanedTransactionCommand, actually has others:
Beta Was this translation helpful? Give feedback.
All reactions