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 | |
---|---|---|
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 Oracle Database on Amazon RDS | Learn More |
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 | Learn More |
Microsoft Azure | Create and Connect a Micronaut Application to an Azure Database for MySQL | Learn More |
* This guide provides an example of using the Micronaut Data module. We recommend that you begin with it.
Module Documentation
Hands-on Labs
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 | |
---|---|---|
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. |
|
Microsoft Azure | Create an Application to Send Email with Azure Communication Services |
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 | |
---|---|---|
Platform Independent Guide | Deploy a Micronaut Microservices Application to a Local Kubernetes Cluster * | Learn More |
Oracle Cloud Infrastructure | Deploy a Micronaut Microservices Application to Oracle Cloud Infrastructure Container Engine for Kubernetes | Learn More |
Oracle Cloud Infrastructure | Expert's Guide to 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 | Learn More |
Google Cloud Platform | Deploy a Micronaut Microservices Application to the Google Kubernetes Engine | Learn More |
Microsoft Azure | Deploy a Micronaut Microservices Application to the Azure Kubernetes Service | Learn More |
*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 | |
---|---|---|
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 | Learn More |
Microsoft Azure | Publish Application Logs to Azure Monitor Logs | Learn More |
Module Documentation
Hands-on Labs
Metrics
The Micronaut Metrics module integrates Micronaut and Micrometer, enabling metrics collection for Micronaut applications.
Module Guides
Guide | Description | |
---|---|---|
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 | Learn More |
Microsoft Azure | Create a Micronaut Application to Collect Metrics and Monitor Them on Azure Monitor Metrics | Learn More |
* 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:
- Oracle Cloud Infrastructure Object Storage
- Amazon S3
- Google Cloud Storage
- Azure Blob Storage
Using this API enables the creation of truly multicloud, portable applications.
Module Guides
Guide | Description | |
---|---|---|
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 | Learn More |
Microsoft Azure | Create and Connect a Micronaut Application to Azure Blob Storage | Learn More |
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 | |
---|---|---|
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 | Learn More |
Microsoft Azure | Securely Store Application Secrets in Azure Key Vault | Learn More |
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 | |
---|---|---|
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 | Learn More |
Microsoft Azure | Secure an Application with Microsoft Entra ID |
Coming soon |
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 | |
---|---|---|
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 |
Microsoft Azure | Create and Deploy a Micronaut Gateway Function to Azure Functions |
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 | |
---|---|---|
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 | Learn More |
Microsoft Azure | Create and Deploy a Streaming Application with Azure Event Hubs | Learn More |
*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 | |
---|---|---|
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 | Learn More |
Microsoft Azure | Create and Trace a Micronaut Application Using Azure Application Insights |
Coming soon |
Module Documentation
Hands-on Labs