Category Archives: Distributed systems

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

Kafka Go client quick start

Here is a Docker based example for Kafka using Go client Overview Simple producer and consumer apps Confluent Go client for Kafka its based on librdkafka (Kafka C client) client setup part is taken care of with a pre-built Docker image – … Continue reading

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

Redis 5 – bootstrapping a Redis Cluster with Docker

With Redis 5 (in RC state at time of writing), cluster creation utility is now available as part of redis-cli which is easier as compared to the (previous) ruby way of doing it (using redis-trib) check out the release notes for … Continue reading

Posted in Distributed systems, nosql, redis | Tagged , , , , | 6 Comments

(eBook) Practical Redis: first few chapters released!

I am happy to announce that the first few chapters of Practical Redis are now available About Practical Redis   It is a hands-on, code-driven guide to Redis where each chapter is based on an application (simple to medium complexity) which … Continue reading

Posted in Distributed systems, 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 & Kafka: random notes

This is not NATS vs Kafka by any means – just jotting down some info. NATS recently joined CNCF (which host projects like Kubernetes, Prometheus etc. – look at the dominance of Golang here!) and that’s when it caught my attention … Continue reading

Posted in Distributed systems, Kafka, messaging | 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

Session @ Oracle Code San Francisco 2017

Here are the details for my talk @ Oracle Code (a track at JavaOne 2017) – Streaming Solutions for Real time problems (Stream Processing solutions using Apache Kafka, Kafka Streams and Redis) Code (Github) – https://github.com/abhirockzz/accs-ehcs-stream-processing Video Slides Streaming Solutions for … Continue reading

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

Debezium test drive

Debezium is an open source, distributed change data capture system built on top of Apache Kafka. I tried it out and the project is available on Github Setup Details are in the README. It uses the Debezium tutorial as a … Continue reading

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