It seems json is the default way for serialization data in nameko rpc
. If I call rpc.my_service.send(b'\x01\')
, it will raise exception kombu.exceptions.EncodeError: Object of type 'bytes' is not JSON serializable
Is there a way to send binary data in nameko rpc? eg, pickle
. Would please give me a short example? Thank you in advance.