I've app that procude&consume message with kafka and protocol buffer and everything works great. I'm serialize the protocol buffer with SerializeAsString() (this app was written in c++).  Now, I've added new node.js website that also...
I had wrote a node/ssjs program that makes:   Tcp connection to data server(Apache MIMA), using TLS module. (OK) Encode/decode(serialize/deserialize) messages through protobuffer module.. (OK) Send serialized message to server and get response. (Not...
I'm using Protobuf for the communication between my web client and server (C#), using WebSocket. On the client, the de/serialization is done through Protobuf.js and, on the server, using protobuf-net.  The problem is that, when using aggregation...
protobuf.min.js:63 Uncaught Error: Illegal wire type for field   Message.Field .Data_new.vert: 5 (2 expected)   I get this message when I try to decode my binary file with protobuf.  vert.proto:  message Vertice_new{     repeated float values = 1...
Following to my previous question, I'm trying to use protocol buffers in node.js. I've generated ServiceMessage_pb.js from my ServiceMessage.proto, and add the following code:  var messages = require('./ServiceMessage_pb');   Now I...
Is it a good choice to use Google Protocol Buffers in JavaScript or is it better to do it with JSON?  Also it'd be great if someone can give me a simple example about Protocol Buffers implementation in JavaScript. The documentation on the Google&...
We are currently using Ajax calls to a .net web service that then returns a Json object to the client.  Some of these Json objects are pretty massive (> 500k uncompressed).  We have heard some good things about Google Protocol Buffers and have bee...
I am trying to send a message over MQTT making use of the google protocol buffer in javascript (ProtoBuf.js)  I was able to encode the message using the following code:  var ProtoBuf = dcodeIO.ProtoBuf; var builder = ProtoBuf.loadProtoFile("./com...
I would like to send simple TCP message to a device (Karotz) from NodeJS Script on Windows.   NodeJS correctly installed an working TCP connection working Here is my .proto file (http://wiki.karotz.com/index.php/Voos-message.proto) I compile it to .d...
I have a Go server and client using a local trusted certificate and they communicate flawless with each other. Now I want the Go server to communicate with a web-grpc instance too. Insecure didn't work as browsers force HTTP2 to go over TLS or de...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.