Using HAProxy to act as an HTTP server

During my work, I stumbled upon some little problems that often require to deploy several component for just a simple task. For example, we had to validate with our CDN that our endpoint was own by us. Fair enough, let’s set a TXT record on our DNS servers! Well, it doesn’t always work that way. Those providers required an HTTP validation with a specific URL and content. Context We have two providers requesting an HTTP endpoint with a specific url/content. [...]

Output Kafka Logs to Syslog

I have been strugling with Kafka recently, or at least log4j. The default configuration output a lot of logs to stdout. In my actual configuration, stdout logs from an application are captured by systemd-journald and then given to rsyslog. This can come handy when the application doesn’t know how to log with syslog. However, I had an issue with Kafka and journald where logs were also written to the filesystem until the partition is full. [...]

Starting a Blog

So it begins. I’m starting a blog and I will try to write some posts related to tech stuff. Most of my posts will be about opensource stuff related to infrastructure and linux systems. I hope that you will enjoy reading my posts! In the mean time you can check links in the sidebar and come back here in a few months :) [...]

Antoine Leroyer

Hi. I’m Antoine, an Infrastructure Engineer and SRE. Currently working at Deezer.