diff --git a/rmw_zenoh_cpp/src/rmw_zenoh.cpp b/rmw_zenoh_cpp/src/rmw_zenoh.cpp index f85d0aac..2105bef0 100644 --- a/rmw_zenoh_cpp/src/rmw_zenoh.cpp +++ b/rmw_zenoh_cpp/src/rmw_zenoh.cpp @@ -2207,7 +2207,7 @@ rmw_send_request( opts.target = Z_QUERY_TARGET_ALL_COMPLETE; // Latest consolidation guarantees unicity of replies for the same key expression. It optimizes bandwidth. // Default is None which imples replies may come in any order and any number. - opts.consolidation = z_query_consolidation_latest(); + opts.consolidation = z_query_consolidation_default(); opts.value.payload = z_bytes_t{data_length, reinterpret_cast(request_bytes)}; opts.value.encoding = z_encoding(Z_ENCODING_PREFIX_EMPTY, NULL); client_data->zn_closure_reply = z_closure(client_data_handler, nullptr, client_data);