Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/duquejo/azure-java-servicebus-exercise
Azure ServiceBus Listener/Receiver topic example using Spring-boot & Terraform AzureRM Providers
https://github.com/duquejo/azure-java-servicebus-exercise
azure-service-bus java maven pubsub spring-boot
Last synced: 11 days ago
JSON representation
Azure ServiceBus Listener/Receiver topic example using Spring-boot & Terraform AzureRM Providers
- Host: GitHub
- URL: https://github.com/duquejo/azure-java-servicebus-exercise
- Owner: duquejo
- Created: 2023-05-12T21:43:42.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-05-13T00:03:30.000Z (over 1 year ago)
- Last Synced: 2024-11-22T08:34:03.594Z (2 months ago)
- Topics: azure-service-bus, java, maven, pubsub, spring-boot
- Language: Java
- Homepage:
- Size: 72.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Azure ServiceBus Pub/Sub Spring boot exercise
A simple Java Spring boot Pub/Sub monolith using Azure ServiceBus topic message broker. Built with Maven.## Simple usage
1. Login to Azure CLI using the `az login` command.
2. Run `terraform apply` for IaC planning and creation.
3. Ensure that the base infrastructure is created in your registered Azure DevOps account.
4. Locate the Shared Resources Policies tab from the ServiceBus namespace resource in Azure DevOps and retrieve a valid Connection String.
5. Copy the base environment properties file sample `src/main/resources/application.yml.sample` rename it as `application.yml` and complete the missing properties.
6. Run Spring boot.## Technologies used
* **Terraform**: AzureRM Provider for better Infrastructure as a code (IaC) handling.
* **Springboot**: Java framework for Microservices integration/RESTController logic.### Dependencies
* Java (18)
* Spring boot (3.0.6)
* Spring cloud Azure starter servicebus-jms (5.1.0)
* Spring cloud Azure dependencies (5.1.0)
* Google Gson (2.9.1)
* Terraform (13)### Plugins
* Maven
* Spotless
* Javadoc### Reference Documentation
For further reference, please consider the following sections:* [Official Apache Maven documentation](https://maven.apache.org/guides/index.html)
* [Spring Boot Maven Plugin Reference Guide](https://docs.spring.io/spring-boot/docs/3.0.6/maven-plugin/reference/html/)
* [Create an OCI image](https://docs.spring.io/spring-boot/docs/3.0.6/maven-plugin/reference/html/#build-image)
* [Terraform Azure Provider](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs)