Home
Jakub Prądzyński's Blog
Cancel

Creating a Simple Application (Backend + Frontend) on a Local Minikube K8S Cluster

In this article, you will learn how to create a simple web application using Micronaut with Kotlin for the backend and React with TypeScript for the frontend. We will then configure a local Kuberne...

Bootstrap project with Spring Boot, Kotest, Testcontainers & MongoDB

I use Spring Initializr to generate project structure and dependencies when I create a new project. After that, I need to add some additional dependencies and configuration to make it work with Kot...

Quick dump MongoDB to BigQuery using Dataflow

In this post, I want to share one way of dumping MongoDB collection into the BigQuery table to analyze data using Google Cloud Platform resources. What is Dataflow? Dataflow is one of the service...

Deploy Spark-Kotlin project on GCP Dataproc cluster

Introduction In the previous post “How to create an example Spark-Kotlin-Gradle project?” I showed you how to create an example Apache Spark project written in Kotlin lang and using Gradle build s...

How to create an example Spark-Kotlin-Gradle project?

Introduction Do you want to start using Apache Spark from the basics? Or you already use it and want to write jobs in Kotlin with Gradle. In this post, I will show you how to create example Spark...

Do you write scripts? Consider using Spring Shell for it!

Introduction Are you one of those who prefer to spend 5 hours writing a script for something that takes 10 minutes? Me too! Sometimes, when I want to write a new script, I decide to do this in a ...

Using declarative HTTP client in Spring Shell project with Kotlin

Introduction Since January 25, 2023, we got new version of Spring Shell - 3.0.0. This release uses Spring Boot 3.0.2. Hence, Spring 6. Hence, we can use declarative HTTP client. Project setup Y...

Setting readPreference option in Spring Data MongoDB projects

Introduction In previous post I wrote about MongoDB optimization by reading from secondary nodes. In this post I will show you how to use this option in Spring Boot project. Using secondary read...

How to easily optimize replica set resource consumption & performance in MongoDB?

Setup I created new free MongoDB cluster on Atlas and loaded sample data into this cluster. As you can see cluster: has version 5.0.13 is deployed on GCP / Belgium contains 3 nodes in R...

Be careful with saveAll method in spring-boot-data-mongodb!

Introduction When we work in project based on Spring Framework and need to access database we will probably use Spring Data for this. One of the benefits of this approach is that we can only conf...