After reading the protocol: https://redis.io/topics/protocol , it shows redis-stream support for binary data is possible. But so far I only found it only supports string message. So there is a question, does it support binary-form data or the feature will be supported in the future? Thanks.

Comment From: tgrall

You can store binary data into Redis.

You can for example using simple SET/GET commands.

As you can see from the documentation:

Values can be strings (including binary data) of every kind, for instance you can store a jpeg image inside a value. A value can't be bigger than 512 MB.

Do you have a specific use case in mind?

Comment From: tanhangbo

Thanks for your reply. After using this api, the binary form of data is successfully stored.

   reply = redisCommand(c,"XADD mystream * %b %b", "foo", 3, "abc\x00with\x00hello", 14);

I just want to send binary images between dockers without (1.store image to cloud data base and get url 2.send url between dockers), and test if the total delay can be decreased.