Tag Archives: golang

Kafka Go client: No Producer error during connection ?

Although its rare, but there are times when you actually want to see errors in your code – more importantly, at the right time ! Kafka Go Producer behaviour You need to be mindful of this while using the Kafka … Continue reading

Posted in Distributed systems, go, Kafka, messaging | Tagged , , | Leave a comment

Redis geo.lua example using Go

I stumbled upon geo.lua which seemed to be an interesting library It’s described as – “… a Lua library containing miscellaneous geospatial helper routines for use with Redis“ Here is an example of using it with the Go Redis client (go-redis). … Continue reading

Posted in go, nosql, redis | Tagged , , , , , , | Leave a comment

etcd Watch example using Go client

etcd is a distributed, highly available key-value store which serves as the persistent back end for Kubernetes Here is an example to demonstrate its Watch feature. For details, check out the README (and the sample code) on Github It uses etcd Docker … Continue reading

Posted in Distributed systems | Tagged , , , | Leave a comment

NATS on Kubernetes example

In a previous blog, you saw an example of NATS along with producer and consumer – based on Docker Compose. This post uses the same app, but runs on Kubernetes For how to run, follow the README on Github High … Continue reading

Posted in Distributed systems, Kubernetes, nats | Tagged , , , , , , , , | Leave a comment

NATS – quick start with Docker

Here is a hello-world example (on Github) for getting started with natsio – a distributed messaging server written in Go It consists of the following components which are managed via Docker Compose NATS server (of course) a Java producer/publisher a Go consumer/subscriber … Continue reading

Posted in Distributed systems, messaging | Tagged , , , , | 1 Comment