Micronaut

Micronaut应用框架。「Micronaut Application Framework」

Github星跟蹤圖

Micronaut

Build Status

Micronaut is a modern, JVM-based, full stack microservices framework designed for building modular, easily testable microservice applications.

Micronaut is developed by the creators of the Grails framework and takes inspiration from lessons learnt over the years building real-world applications from monoliths to microservices using Spring, Spring Boot and Grails.

Micronaut aims to provide all the tools necessary to build microservice applications including:

  • Dependency Injection and Inversion of Control (IoC)
  • Sensible Defaults and Auto-Configuration
  • Configuration and Configuration Sharing
  • Service Discovery
  • HTTP Routing
  • HTTP Client with Client-Side Load Balancing

At the same time Micronaut aims to avoid the downsides of frameworks like Spring, Spring Boot and Grails by providing:

  • Fast startup time
  • Reduced memory footprint
  • Minimal use of reflection
  • Minimal use of proxies
  • Easy Unit Testing

For more information on using Micronaut see the documentation at micronaut.io

Example Applications

Example Micronaut applications can be found in the Examples repository

Building From Source

To build from source checkout the code and run:

./gradlew publishToMavenLocal

This will publish the current version to your local Maven cache. To get the CLI operational you can do:

export MICRONAUT_HOME=/path/to/checkout
export PATH="$PATH:$MICRONAUT_HOME/cli/build/bin"

You will also need to checkout the Micronaut Profiles and run ./gradlew publishToMavenLocal there too.

You should then be able to mn create-app hello-world.

To build the documentation run ./gradlew docs. The documentation is built to build/docs/index.html.

Contributing Code

If you wish to contribute to the development of Micronaut please read the CONTRIBUTING.md

Versioning

Micronaut is using Semantic Versioning 2.0.0. To understand what that means, please see the specification documentation. Exclusions to Micronaut's public API include any classes annotated with @Experimental or @Internal, which reside in the io.micronaut.core.annotation package.

CI

Github Actions are used to build Micronaut. If a build fails in master, check the test reports.

主要指標

概覽
名稱與所有者micronaut-projects/micronaut-core
主編程語言Java
編程語言Java (語言數: 5)
平台
許可證Apache License 2.0
所有者活动
創建於2018-03-07 12:05:08
推送於2025-06-10 11:21:56
最后一次提交
發布數294
最新版本名稱v4.8.15 (發布於 2025-06-09 16:43:48)
第一版名稱v1.0.0.M1 (發布於 )
用户参与
星數6.2k
關注者數171
派生數1.1k
提交數14.6k
已啟用問題?
問題數4052
打開的問題數657
拉請求數5696
打開的拉請求數84
關閉的拉請求數1158
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?