Posts for: #Docker

Running Kafka in Docker

Introduction

Running Apache Kafka with Docker can be harder than it should be. Or perhaps it’s easy once you know what exactly you need to do. In this post, I’m going to discuss about how I run Kafka in Docker.

What is Kafka?

Apache Kafka is a distributed real-time event streaming and ingestion platform that is capable of handling very large volume of data. With the rise in the Microservices architecture in recent years, Kafka has gained a lot of popularity.

[Read more]

AMS: Data Provider Service - Generating performance metrics with Spring Boot Actuator

Introduction

This is the first article in a series of upcoming articles on designing and creating an Application Monitoring System. An Application Monitoring System (AMS) is a system that can monitor performance of other running applications. I am building this application component by component from scratch and I will publish it here on this blog. In this post, I talk about how to create and run services that provide application performance metrics using Java, Spring Boot and Docker.

[Read more]

Run Alpine Linux as a Docker Container

If you have never heard of Alpine Linux before, it's a distribution of Linux, a very lightweight one . In fact it's so small, an empty container of Alpine Linux can be run with less than 8 MB of memory. And that's one of the reasons why it's extensively used in containers. Docker Hub has an official image of Alpine Linux. So it's fairly easy to run Alpine Linux as a docker container or build one on top of it.

[Read more]

Run MySQL as Docker Container on Debian

Event though Debian is considered as one of the most stable Linux distributions out there, part of it's stability comes from the fact that a large portion of it's package base consists of well-tested but outdated packages. This should be a blessing most of the times but if you are a developer like me, some times you may need a latest or specific version of a package. In this case, I needed the latest version of the mysql-server package. Although official apt repository is available from MySQL to install the latest version of it on Debian, to be able to run something in containers has it's own advantages including having the ability to run multiple versions of the same package simultaneously and can be easily cleaned up after using.

[Read more]