wagslane / go-rabbitmq

A wrapper of streadway/amqp that provides reconnection logic and sane defaults
https://blog.boot.dev/golang/connecting-to-rabbitmq-in-golang-easy/
MIT License
768 stars 125 forks source link

Truncated messages #85

Closed aditya-achmad closed 1 year ago

aditya-achmad commented 2 years ago

Hello, Sometimes I receive truncated message. {"position":{"latitude":0.0,"longitude":0.0,"altitude":0.0},"device":{"id":1,"name":"1111","phone":nu It supposed to be like this: {"position":{"latitude":0.0,"longitude":0.0,"altitude":0.0},"device":{"id":1,"name":"1111","phone":null}}

And sometimes I receive message with extra string too. {"position":{"latitude":0.0,"longitude":0.0,"altitude":0.0},"device":{"id":1,"name":"1111","phone":null}}1111","phone":null}}

How to solve this issue?

wagslane commented 1 year ago

I don't think this has anything to do with this library. If it does, please provide more info and open a new issue