Category: <span>Programavimas</span>

Programavimas

I use Kafka in my Docker Compose file. My docker-compose.yaml looks like this: Unfortunately, when I start and restart Kafka’s instance in Docker Compose I was constantly getting random errors. After some googling, I found that KAFKA_ADVERTISED_HOST_NAME is deprecated – please see https://github.com/wurstmeister/kafka-docker/wiki/Connectivity…

Programavimas

Programavimas

I have just posted an article on Zedge blog on Medium about Kotlin’s extension functions. If you’re interested, please take a look: https://medium.com/zedge/extension-functions-in-kotlin-44563d7880f5

Programavimas

I have just posted a blog in Zedge blog on Medium about using PostgreSQL databases in Live environments. If you want to know how to add a column to PostgreSQL database and not cause a downtime of the database, please take a look…

Programavimas

You have a running Kubernetes deployment with pods and want to restart all of them. How could you do that? If you have Kubernetes 1.15, simply try:

Programavimas

As for me, I’m constantly typing a couple of commands into the console. And some of these commands contain parameters. So, I’ve decided to create an alias for them. But how to create an alias with parameters? It’s simple:

Programavimas

If you want to run Docker Compose with Kafka and Zookeeper, you could use the following code:

Programavimas

I had a slight issue, of how to start MySQL server by using Docker Compose. So, I came up with the following configuration: Works 🙂

Programavimas

I have just started working with a Gradle project, that needs a simple way of incrementing its version. And I came up with a simple solution. Project’s version is following the standard: major.minor.patch. So, first of all create a version.properties file that looks…

Programavimas