go-micro-services | HTTP up front , Protobufs in the rear
kandi X-RAY | go-micro-services Summary
kandi X-RAY | go-micro-services Summary
HTTP up front, Protobufs in the rear
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of go-micro-services
go-micro-services Key Features
go-micro-services Examples and Code Snippets
Community Discussions
Trending Discussions on go-micro-services
QUESTION
We have some micro-services developed in c# and go languages. we use confluent-kafka for messaging and facing a problem: Go services are able to consume messages published from all other services (be it from go or c#/.net micro service). But .net microservices are not getting messages published from go microservice but from .net microservices.
We are on windows platform and using confluent-kafka as kafka server and .net clients. In go we are using kafka-go library (https://github.com/segmentio/kafka-go)
Note: in go we the kafka-go library allows to publish the message as byte-array. whereas in .net we are publishing a message as plain-text. I am not sure if it is a problem for .net services to consume messages published from go-services as byte-array. I can see messages published from go-services in kafka-tool 2.0.
Expected behavior will be .net services are able to pull/consume messages published from go-micro-services.
...ANSWER
Answered 2019-Apr-19 at 06:23Found the root cause and resolved. The problem was there is no key-deserializer set in dot net services and dotnet publishers didn't set the key of kafka message but go publishers were setting the key. as there is no key deserializer set in .net, they were getting ConsumerError. Now key deserializer set to .net consumer and the issue perished.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install go-micro-services
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page