java sdk data write, using c + + sdk to read the data

java sdk (1.4.2)
key : "xxx"
value : png binary byte array (67167 byte)-> base64 encoding byte array (89556 byte)

c++ sdk (2.3.1 ubuntu 64bit)
key : "xxx"
value : 65433 byte

couchbase 2.5.1 (ubuntu 64bit)
3 node cluster

To write and read data using java sdk is consistent.
writing data using java sdk and
to read data using c + + sdk is inconsistent the data length.

Is your data wrong? How are you storing your item from within the Java SDK? The Java SDK may end up using compression, making it unreadable to any other client unless you decompress it: https://github.com/couchbase/spymemcached/blob/master/src/main/java/net/...

0 Answers

No answers yet