Database

The Micronaut Data module provides database access functionality to pre-compute queries for repository interfaces that are then executed by a thin, lightweight runtime layer. It supports the following databases:

  • JPA (Hibernate) and Hibernate Reactive
  • SQL (JDBC, R2DBC)
  • MongoDB

Module Guides

Guide Description Gradle Maven
Platform Independent Guide Create and Connect a Micronaut Application to a MySQL Database * Learn More
Oracle Cloud Infrastructure Create and Connect a Micronaut Application to an Oracle Cloud Infrastructure Autonomous Database Learn More
Oracle Cloud Infrastructure Create and Connect a Micronaut Application to the Oracle Cloud Infrastructure MySQL HeatWave Service Learn More
Oracle Cloud Infrastructure Expert's Guide to Create and Connect a Micronaut Application to the Oracle Cloud Infrastructure MySQL HeatWave Service
Amazon Web Services Create and Connect a Micronaut Application to an Amazon Web Services MySQL Database Learn More
Google Cloud Platform Create and Connect a Micronaut Application to a Google MySQL Database

* This guide provides an example of using the Micronaut Data module. We recommend that you begin with it.

Module Documentation

Hands-on Labs

Email

The Micronaut Email module provides integration with transactional email providers including Amazon Simple Email Service (SES), Jakarta Mail, Mailjet, Postmark, and SendGrid.

Module Guides

Guide Description Gradle Maven
Platform Independent Guide Create an Application to Send Email Using Jakarta Mail Learn More
Oracle Cloud Infrastructure Create an Application to Send Email with the Oracle Cloud Infrastructure Email Delivery Service Learn More
Amazon Web Services Create an Application to Send Email with the Amazon Simple Email Service Learn More
Google Cloud Platform Google Cloud Platform does not provide an equivalent email service.
Instead, use Create an Application to Send Email Using Jakarta Mail.

Module Documentation

Hands-on Labs

Kubernetes

The Micronaut Kubernetes module provides integration between Micronaut and Kubernetes. It greatly simplifies Kubernetes deployments and enables you to connect several microservices using Kubernetes Service Discovery and Distributed Configuration. It provides support for the following features:

  • Service Discovery
  • Configuration client for config maps and secrets
  • Blocking and non-blocking Kubernetes clients built on top of the official Kubernetes Java Client

Module Guides

Guide Description Gradle Maven
Platform Independent Guide Deploy a Micronaut Microservices Application to a Local Kubernetes Cluster * Learn More
Oracle Cloud Infrastructure Expert's Guide to Deploy a Micronaut Microservices Application to Oracle Cloud Infrastructure Container Engine for Kubernetes Learn More
Amazon Web Services Deploy a Micronaut Microservices Application to the Amazon Elastic Kubernetes Service Learn More
Google Cloud Platform Deploy a Micronaut Microservices Application to the Google Kubernetes Engine

*This guide provides an example of using the Micronaut Kubernetes module. We recommend that you begin with it.

Module Documentation

Logging

The Micronaut Logging module supports several logging frameworks such as Logback and logging to various other appenders, to email, a database, or other destinations.

Module Guides

Guide Description Gradle Maven
Oracle Cloud Infrastructure Publish Application Logs to the Oracle Cloud Infrastructure Logging Service Learn More
Amazon Web Services Publish Application Logs to Amazon CloudWatch Logs Learn More
Google Cloud Platform Publish Application Logs to Google Cloud Logging

Module Documentation

Hands-on Labs

Metrics

The Micronaut Metrics module integrates Micronaut and Micrometer, enabling metrics collection for Micronaut applications.

Module Guides

Guide Description Gradle Maven
Platform Independent Guide * Create a Micronaut Application to Collect Metrics Learn More
Oracle Cloud Infrastructure Create a Micronaut Application to Collect Metrics and Monitor Them on Oracle Cloud Infrastructure Learn More
Oracle Cloud Infrastructure Create a Micronaut Database Application to Collect Metrics and Monitor Them on Oracle Cloud Infrastructure Learn More
Amazon Web Services Create a Micronaut Application to Collect Metrics and Monitor Them on Amazon CloudWatch Learn More
Google Cloud Platform Create a Micronaut Application to Collect Metrics and Monitor Them on Google Cloud Monitoring

* This guide provides an example of using the Micronaut Metrics module. We recommend that you begin with it.

Module Documentation

Hands-on Labs

Object Storage

The Micronaut Object Storage module provides a uniform API to create, read, and delete objects in the major cloud providers​:

  • Amazon S3
  • Azure Blob Storage
  • Google Cloud Storage
  • Oracle Cloud Infrastructure Object Storage

Using this API enables the creation of truly multicloud, portable applications.

Module Guides

Guide Description Gradle Maven
Oracle Cloud Infrastructure Create and Connect a Micronaut Application to Oracle Cloud Infrastructure Object Storage Learn More
Amazon Web Services Create and Connect a Micronaut Application to Amazon S3 Object Storage Learn More
Google Cloud Platform Create and Connect a Micronaut Application to Google Cloud Storage

Module Documentation

Hands-on Labs

Secret Management

The Micronaut Secrets Management module provides integration with the secret manager of the underlying cloud platform. A secret manager lets you securely store and retrieve “secrets” that shouldn’t be accessible in clear text. For example:

  • Database URLs
  • Usernames and passwords
  • API keys
  • Certificates

Module Guides

Guide Description Gradle Maven
Oracle Cloud Infrastructure Securely Store Application Secrets in an Oracle Cloud Infrastructure Vault Learn More
Oracle Cloud Infrastructure Securely Store Database Connection Details in an Oracle Cloud Infrastructure Vault Learn More
Amazon Web Services Securely Store Application Secrets in Amazon Web Services Secrets Manager Learn More
Google Cloud Platform Securely Store Application Secrets in Google Secret Manager

Module Documentation

Hands-on Labs

Security

The Micronaut Auth module provides functionality to authenticate with OAuth 2.0 servers, including support for the OpenID standard.

Module Guides

Guide Description Gradle Maven
Oracle Cloud Infrastructure Secure an Application with Oracle Identity Cloud Service and OpenID Connect Learn More
Amazon Web Services Secure an Application with Amazon Cognito Learn More
Google Cloud Platform Secure an Application with Google OpenID Connect

Module Documentation

Serverless

The Serverless module provides the functionality to run serverless functions (Functions as a Service), serverless applications, and serverless API gateways.

Module Guides

Guide Description Gradle Maven
Oracle Cloud Infrastructure Create and Deploy a Micronaut Gateway Function to Oracle Cloud Infrastructure Learn More
Oracle Cloud Infrastructure Expert's Guide to Create and Deploy a Micronaut Gateway Function to Oracle Cloud Infrastructure
Amazon Web Services Create and Deploy a Micronaut Gateway Function as an Amazon Lambda Function Learn More
Google Cloud Platform Create and Deploy a Micronaut Gateway Function as a Google Cloud Function Learn More

Module Documentation

Streaming

The Micronaut Streaming module provides integration with Apache Kafka. Applications built with the Streaming module can be deployed with or without the presence of an HTTP server.

Module Guides

Guide Description Gradle Maven
Platform Independent Guide Create a Streaming Application with Kafka * Learn More
Oracle Cloud Infrastructure Create a Streaming Application with the Oracle Cloud Infrastructure Streaming Service Learn More
Oracle Cloud Infrastructure Create and Deploy a Streaming Application with the Oracle Cloud Infrastructure Streaming Service Learn More
Amazon Web Services Create and Deploy a Streaming Application with Amazon Managed Streaming for Apache Kafka Learn More
Google Cloud Platform Create and Deploy a Streaming Application with Google Cloud Platform Apache Kafka

*This guide provides an example of using the Micronaut Streaming module. We recommend that you begin with it.

Module Documentation

Tracing

The Micronaut Tracing module provides integration with both Zipkin and Jaeger (via the OpenTelemetry API).

Module Guides

Guide Description Gradle Maven
Oracle Cloud Infrastructure Create and Trace a Micronaut Application Using Oracle Cloud Infrastructure Application Performance Monitoring Learn More
Amazon Web Services Create and Trace a Micronaut Application Using Amazon Web Services X-Ray Learn More
Google Cloud Platform Create and Trace a Micronaut Application Using Google Cloud Trace

Module Documentation

Hands-on Labs