zenoh-cpp icon indicating copy to clipboard operation
zenoh-cpp copied to clipboard

No error/log print in subscriber example when using shared memory and shared memory is not configured [Bug]

Open milyin opened this issue 2 years ago • 0 comments

Describe the bug

When using shared memory over zenoh - additional configuration needs to be made, if not made the data will be sent over socket , and this will result with poor performance.

The expectation is either print a warning of wrong usage or fail the shared memory API

Same problem was fixed in zenoh-c - https://github.com/eclipse-zenoh/zenoh-c/issues/202 Zenoh-cpp publisher example should also report if shartd memory is misconfigured in zenoh-c mode: https://github.com/eclipse-zenoh/zenoh-cpp/blob/main/examples/universal/z_sub.cxx

To reproduce

System info

milyin avatar Dec 01 '23 13:12 milyin