Comments (3)
Doesn't sound like a protobuf-dynamic issue, are you actually using it?
from protobuf-dynamic.
Assuming closed
from protobuf-dynamic.
Hi,
I had written producer, consumer application, here producer thread produces messages, serializes it with protobuff and publishes it with zeroMQ publisher.
At consumer side thread will subscriber on zeroMQ port and deserializes the messsages with protobuff. I am getting below issues randomly at my consumer side while decoding protobuff byte array:
com.google.protobuf.InvalidProtocolBufferException: While parsing a protocol message, the input ended unexpectedly in the middle of a field. This could mean either that the input has been truncated or that an embedded message misreported its own length.These issues i am getting is random issue it's not that i am getting it for each and every message, out of 47,00,000 messages in 12hrs i got this issue for 10 messages, and i am testing this on a single machine.
Below is my producer proto file:-
ProtoFileProducer1.txtBelow is my producer class:-
Producer.txtBelow is my consumer proto file:-
ConsumerProtoFile.txtBelow is my consumer class:
Consumer.txt
did you ever find the solution to this issue? we too are getting random errors such as this...
from protobuf-dynamic.
Related Issues (16)
- While parsing a protocol message, the input ended unexpectedly in the middle of a field. HOT 2
- Example of how to use existing proto types HOT 1
- A puzzle about the 2.4.1 and 2.6.1 getDependencyList API change HOT 4
- make DynamicSchema.mFileDescSet accessible HOT 10
- public access for fd proto builder HOT 3
- support for map field HOT 2
- DynamicSchema.Builder fails at .build() when using protobuf-java-2.6.1 HOT 15
- why not support FieldDescriptorProto.Type.TYPE_MESSAGE type
- Whether proto3 is supported
- add way to find current msgTypeNames in DynamicSchema HOT 5
- Question: will this be enough to compose gRPC definitions in Java? HOT 2
- Protobuf 3.1 HOT 3
- [feature request] Java IDL for protobuf (Protocl Buffers in Java) HOT 1
- How can I generate proto file using DynamicSchema? HOT 3
- Infinite loop when a dependency is missing in proto file HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from protobuf-dynamic.