Micronaut

Connecting with MySql Database in Micronaut

Micronaut, a powerful and lightweight framework, provides an excellent platform for building microservices. In this blog, we’ll explore the seamless integration of MySQL, a popular relational database, into a Micronaut application. This integration ensures data persistence with efficiency and simplicity. Prerequisites Before connecting to a database in Micronaut, make sure you have the following prerequisites:…

Micronaut

Integrating Apache Kafka with Micronaut: A Step-by-Step Guide

Introduction: Micronaut is a popular framework for building lightweight and efficient microservices in Java, Kotlin, and Groovy. When you need to integrate Kafka into your Micronaut application for event-driven processing, it’s essential to set up the integration correctly. In this guide, we’ll walk you through the process of integrating Kafka with a Micronaut application. Prerequisites:…

Micronaut

How to Write a Custom Logback Filter in Micronaut

Logback is a widely used logging framework in the Java ecosystem. It provides flexibility and configurability for logging messages generated in your application. In Micronaut, you can easily integrate Logback for your logging needs. Sometimes, you may want to apply custom filtering to log messages, allowing you to control which messages get logged and which…

Micronaut

Solving Unable to read properties from application.yml in Micronaut

Micronaut is a versatile framework for building microservices and serverless applications, known for its flexibility and minimal footprint. It’s no surprise that many developers prefer configuring Micronaut applications using YAML files for their readability and structure. However, you might encounter an issue where Micronaut fails to read properties from your application.yml file. Let’s dive into…

Micronaut

Integrating Sentry in Micronaut

Integrating Sentry with Micronaut allows you to monitor and capture errors and exceptions in your Micronaut applications. Sentry is a popular error tracking platform that helps you discover, triage, and prioritize errors in real-time. Here’s a step-by-step guide on how to integrate Sentry with a Micronaut application Step 1: Create a Sentry Account If you…

RabbitMq in Micronaut
Micronaut

Integrating RabbitMQ in Micronaut: A Step-by-Step Guide

RabbitMQ is a robust and versatile message broker that can be integrated into your Micronaut applications to handle asynchronous communication. It’s especially useful for scenarios where different parts of your application need to communicate without waiting for immediate responses. In this guide, we’ll walk you through the process of integrating RabbitMQ with Micronaut. Prerequisites Before…

Micronaut

Integrating SLF4J with Logback in Micronaut

Logging is a critical aspect of any application’s development and maintenance. It provides invaluable insights into the behavior of your software, helping you identify issues, track performance, and ensure everything is running smoothly. In the Micronaut framework, integrating logging is a breeze, thanks to its seamless support for the Simple Logging Facade for Java (SLF4J)….