Code Monkey home page Code Monkey logo

Comments (3)

os72 avatar os72 commented on June 14, 2024

Doesn't sound like a protobuf-dynamic issue, are you actually using it?

from protobuf-dynamic.

os72 avatar os72 commented on June 14, 2024

Assuming closed

from protobuf-dynamic.

Greatsamps avatar Greatsamps commented on June 14, 2024

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.

ProtobuffIssues12HrsTest.txt

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.txt

Below is my producer class:-
Producer.txt

Below is my consumer proto file:-
ConsumerProtoFile.txt

Below 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.