Describe the bug
When attempting to store binary data in Zenoh storage configured for InfluxDB 2, the system incorrectly interprets the binary data as UTF-8. If the binary data does not represent a valid UTF-8 string, the operation fails, and the database stores an invalid record. The stored record is a base64-encoded string indicating that it failed to interpret the data as UTF-8.
To reproduce
- Set up Zenoh storage configured for InfluxDB.
- Create a publisher and use it to write a binary value (e.g., a value that is not a valid UTF-8 string).
- Try to retrieve the value using:
- Zenoh client.
- InfluxDB client by querying: SELECT * FROM path/to/something.
System info
- Operating System: Ubuntu 22.04 LTS (Jammy Jellyfish)
- Architecture: AMD64 (x86_64)
- Zenoh Version: 1.1.0