From 0a41ef6fcccc8b66e0d33311b2255b2128aeb61b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Mill=C3=A1n?= Date: Tue, 10 Oct 2023 17:49:27 +0200 Subject: [PATCH] Rust: messages, fix DataProducerSendNotification --- rust/src/messages.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rust/src/messages.rs b/rust/src/messages.rs index 46ada2f2a3..32f29821bf 100644 --- a/rust/src/messages.rs +++ b/rust/src/messages.rs @@ -2849,7 +2849,8 @@ impl Notification for DataProducerSendNotification { Some(notification_body), ); let message_body = message::Body::create_notification(&mut builder, notification); - let message = message::Message::create(&mut builder, message::Type::Request, message_body); + let message = + message::Message::create(&mut builder, message::Type::Notification, message_body); builder.finish(message, None).to_vec() }