Spring Cloud Azure
4.3Spring Cloud Azure is an open-source project that provides seamless Spring integration with Azure services. It gives developers a Spring-idiomatic way to connect and consume Azure services, with only need few lines of configuration and minimal code changes. Once you’re ready to run your Spring app in the cloud, we recommend Azure Spring Apps. Azure Spring Apps is a fully managed Spring Cloud service, built and supported by the same team as Spring Cloud Azure.
Support
Azure support tickets
Customers with an Azure support plan can open an Azure support ticket. We recommend this option if your problem requires immediate attention.
GitHub issues
We use GitHub Issues to track bugs, questions, and feature requests. GitHub issues are free, but response time is not guaranteed. See GitHub issues support process for more details.
Spring Cloud
-
Spring Cloud Stream Binder for Azure Event Hubs (native API and Apache Kafka API)
-
Spring Cloud Stream Binder for Azure Service Bus Topic and Queue
-
Spring Resource Abstraction for Azure Storage
-
Spring Cache auto-configuration for Azure Cache for Redis
-
Spring Cloud Config for Azure App Configuration (Preview)
Spring Boot
-
Azure support
-
Spring Boot Starter for Azure Active Directory
-
Spring Boot Starter for Azure Key Vault
-
Spring Boot Starter for Azure Storage store
-
Spring Boot Starter for Azure Active Directory B2C
-
Spring Boot Starter for Azure Cosmos DB
-
Spring Boot Starter for Azure Service Bus
-
Spring Boot Starter for Azure Service Bus with JMS
-
Spring Boot Starter for Azure Event Hubs
Spring Data
-
Spring Data JPA - Azure MySQL, Azure PostgreSQL, Microsoft SQL Server
-
Spring Data JDBC - Azure MySQL, Azure PostgreSQL, Microsoft SQL Server
-
Spring Data MongoDB - Azure MongoDB (via Azure Cosmos DB)
-
Spring Data for Apache Cassandra - Azure Cassandra (via Azure CosmosDB)
-
Spring Data Azure Cosmos DB - Azure Cosmos DB
-
Spring Data Redis - Azure Cache for Redis
Spring Integration
-
Inbound Channel Adapter and Message Handler for Azure Event Hubs
-
Inbound Channel Adapter and Message Handler for Azure Service Bus Topic and Queue
-
Message Source and Message Handler for Azure Storage Queue
Getting Started
The Azure Support entry contains auto-configuration support for Azure managed services. It also provides the capability to automatically inject properties from Cloud Foundry into your applications using Azure managed services.
Let us take Spring Boot Starter for Azure Service Bus as an example. All Spring Cloud for Azure artifacts are made available through Maven Central. You can bootstrap your application with Spring Initializr and add the Azure Support
dependency. Then you can add the usual azure-servicebus
dependency to your project and the Spring Boot auto-configuration will automatically configure your Spring application with Azure Service Bus.
<dependency>
<groupId>com.azure.spring</groupId>
<artifactId>spring-cloud-azure-starter</artifactId>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-messaging-servicebus</artifactId>
</dependency>
Alternatively, you can add the full name of the Spring Boot Starter for Azure Service Bus.
<dependency>
<groupId>com.azure.spring</groupId>
<artifactId>spring-cloud-azure-starter-servicebus</artifactId>
</dependency>
Run your Spring Boot applications
The best way to run Spring Boot apps on Azure is to use Azure Spring Apps, a fully managed Spring Cloud service, jointly built and operated by Microsoft and Pivotal (VMware). It enables Java developers to easily build and run Spring-boot based microservices on Azure with no code changes. Follow this tutorial to prepare a Java Spring application for deployment in Azure Spring Apps.
Additionally, you can deploy a Spring Boot application on
Quickstart Your Project
Documentation
4.3 CURRENT GA | Reference Doc. | |
4.2 GA | Reference Doc. | |
2.2.0 GA | Reference Doc. | |
2.1.7 GA | Reference Doc. | |
2.0.7 GA | Reference Doc. | |
1.0.0 GA | Reference Doc. |