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 *
Oracle Cloud Infrastructure Create and Connect a Micronaut Application to an Oracle Cloud Infrastructure Autonomous Database
Oracle Cloud Infrastructure Create and Connect a Micronaut Application to an Oracle Cloud Infrastructure MySQL Database
Amazon Web Services Create and Connect a Micronaut Application to an Amazon Web Services MySQL Database
Google Cloud Platform Coming soon

* This guide provides an example of using the 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), JavaMail, Mailjet, Postmark, and SendGrid.

Module Guides

Guide Description Gradle Maven
Platform Independent Guide Create an Application to Send Email Using JavaMail
Oracle Cloud Infrastructure Create an Application to Send Email with the Oracle Cloud Infrastructure Email Delivery Service
Amazon Web Services Create an Application to Send Email with the Amazon Simple Email Service
Google Cloud Platform Coming soon

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 *
Oracle Cloud Infrastructure Deploy a Micronaut Microservices Application to Oracle Cloud Infrastructure Container Engine for Kubernetes
Amazon Web Services Deploy a Micronaut Microservices Application to the Amazon Elastic Kubernetes Service
Google Cloud Platform Coming soon

*This guide provides an example of using the 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
Amazon Web Services Publish Application Logs to Amazon CloudWatch Logs
Google Cloud Platform Coming soon

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
Oracle Cloud Infrastructure Create a Micronaut Application to Collect Metrics and Monitor Them on Oracle Cloud Infrastructure
Amazon Web Services Create a Micronaut Application to Collect Metrics and Monitor Them on Amazon CloudWatch
Google Cloud Platform Coming soon

* This guide provides an example of using the 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
Amazon Web Services Create and Connect a Micronaut Application to Amazon S3 Object Storage
Google Cloud Platform Coming soon

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 Oracle Cloud Infrastructure Vault
Amazon Web Services Securely Store Application Secrets in Amazon Web Services Secrets Manager
Google Cloud Platform Coming soon

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
Amazon Web Services Secure an Application with Amazon Cognito
Google Cloud Platform Coming soon

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 *
Oracle Cloud Infrastructure Create and Deploy a Streaming Application with the Oracle Cloud Infrastructure Streaming Service
Amazon Web Services Create and Deploy a Streaming Application with Amazon Managed Streaming for Apache Kafka
Google Cloud Platform Coming soon

*This guide provides an example of using the 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
Amazon Web Services Create and Trace a Micronaut Application Using Amazon Web Services X-Ray
Google Cloud Platform Coming soon

Module Documentation

Hands-on Labs