Skip to content

Commit 8ea5ea4

Browse files
Updating docs to have spring boot 3.x banner and not hardcoded deps (#1366)
* updating docs to have spring boot 3.x banner and not hardcoded deps Signed-off-by: salaboy <[email protected]> * Update _index.md Signed-off-by: salaboy <[email protected]> * Update _index.md Adding links to discord and github issues Signed-off-by: salaboy <[email protected]> --------- Signed-off-by: salaboy <[email protected]> Co-authored-by: artur-ciocanu <[email protected]>
1 parent 7291d4c commit 8ea5ea4

File tree

1 file changed

+10
-7
lines changed
  • daprdocs/content/en/java-sdk-docs/spring-boot

1 file changed

+10
-7
lines changed

daprdocs/content/en/java-sdk-docs/spring-boot/_index.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,34 +8,37 @@ description: How to get started with Dapr and Spring Boot
88

99
By combining Dapr and Spring Boot, we can create infrastructure independent Java applications that can be deployed across different environments, supporting a wide range of on-premises and cloud provider services.
1010

11-
First, we will start with a simple integration covering the `DaprClient` and the [Testcontainers](https://testcontainers.com/) integration, to then use Spring and Spring Boot mechanisms and programming model to leverage the Dapr APIs under the hood. This help teams to remove dependencies such as clients and drivers required to connect to environment specific infrastructure (databases, key-value stores, message brokers, configuration/secret stores, etc.)
11+
First, we will start with a simple integration covering the `DaprClient` and the [Testcontainers](https://testcontainers.com/) integration, to then use Spring and Spring Boot mechanisms and programming model to leverage the Dapr APIs under the hood. This helps teams to remove dependencies such as clients and drivers required to connect to environment-specific infrastructure (databases, key-value stores, message brokers, configuration/secret stores, etc)
1212

1313
{{% alert title="Note" color="primary" %}}
14-
The Spring Boot integration explained in this page is still alpha, hence most artifacts are labeled with 0.13.0.
14+
The Spring Boot integration requires Spring Boot 3.x+ to work. This will not work with Spring Boot 2.x.
15+
The Spring Boot integration remains in alpha. We need your help and feedback to graduate it.
16+
Please join the [#java-sdk discord channel](https://discord.com/channels/778680217417809931/778749797242765342) discussion or open issues in the [dapr/java-sdk](https://github.com/dapr/java-sdk/issues).
1517

1618
{{% /alert %}}
1719

1820

1921
## Adding the Dapr and Spring Boot integration to your project
2022

21-
If you already have a Spring Boot application (Spring Boot 3.x+), you can directly add the following dependencies to your project:
22-
23+
If you already have a Spring Boot application, you can directly add the following dependencies to your project:
2324

2425
```
2526
<dependency>
2627
<groupId>io.dapr.spring</groupId>
2728
<artifactId>dapr-spring-boot-starter</artifactId>
28-
<version>0.14.1</version>
29+
<version>0.x.x</version> // see below for the latest versions
2930
</dependency>
3031
<dependency>
3132
<groupId>io.dapr.spring</groupId>
3233
<artifactId>dapr-spring-boot-starter-test</artifactId>
33-
<version>0.14.1</version>
34+
<version>0.x.x</version> // see below for the latest versions
3435
<scope>test</scope>
3536
</dependency>
3637
```
3738

38-
By adding these dependencies you can:
39+
You can find the [latest released version here](https://central.sonatype.com/artifact/io.dapr.spring/dapr-spring-boot-starter).
40+
41+
By adding these dependencies, you can:
3942
- Autowire a `DaprClient` to use inside your applications
4043
- Use the Spring Data and Messaging abstractions and programming model that uses the Dapr APIs under the hood
4144
- Improve your inner-development loop by relying on [Testcontainers](https://testcontainers.com/) to bootstrap Dapr Control plane services and default components

0 commit comments

Comments
 (0)