N+1 problem is a performance issue. See example how to resolve it with Hibernate and avoid drastic optimalization difficulties.
A tutorial for configuring Apache Kafka on a Docker container and microservices built in the Spring Boot framework.
What is Kafka? What is Kafka used for? How does it work? Here you can find all information that you need to know to understand Kafka.