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'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 have a very simple browser application, which has to use protobuf: https://github.com/dcodeIO/protobuf.js I also have a '.proto' file with a message format, so I just need to encode the incoming messages with protobuf.  Unfortunately I am n...
I have create one example for rabbitmq stomp using protobuf.js on client side. protobuf example link: https://github.com/dcodeIO/ProtoBuf.js  Send message file content:-  var Game = builder.build("Game"); var Car = Game.Cars.Car; var car = ne...
HTTP/2 is binary, as well as protobuf.  If I use HTTP/2 on my server, then do I still need to use protobuf if I use it to reduce size of messages or will be JSON gzipped and sent via HTTP/2 comparatively the same?  JSON seems to be more human readabl...
I'm having a hard time figuring out how to send a file over a WebSocket using Google Protocol buffers.  My message structure for the buffer is  message FileData_m {     required uint32 block = 1; // File starting offset     required bytes data =...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.