From 9b7836a49b8356f90c84867ef818a50073e0a727 Mon Sep 17 00:00:00 2001 From: RaymundoZa Date: Tue, 9 Sep 2025 02:16:45 -0600 Subject: [PATCH 1/4] Preview New README --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index d629e540dc..2ba20ed6b7 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,25 @@ This is the Dapr SDK for Java, including the following features: ## Getting Started +## Architecture Overview + +The diagram below shows how a Java application interacts with the Dapr runtime through the Java SDK: + +```mermaid +flowchart LR + A[End User Application] -->|HTTP or gRPC| B[Dapr Java SDK] + B -->|API calls| C[Dapr Sidecar] + C -->|State Store, Pub/Sub, Service Invocation, Bindings, Actors, Workflows| D[External Components] + C --> A +```` + +* The application creates a Dapr client (HTTP or gRPC). +* The SDK routes API calls (state, pub/sub, service invocation, bindings, actors, workflows). +* The Dapr sidecar manages communication with external components and returns responses to the app. + +``` + + ### Pre-Requisites * SDKMAN! installed (recommended): * [SDKMAN!](https://sdkman.io) From 66e735dcb03497fb07b2e5cf3ee8ac89286d0480 Mon Sep 17 00:00:00 2001 From: RaymundoZa Date: Tue, 9 Sep 2025 02:18:52 -0600 Subject: [PATCH 2/4] Preview New README 2 --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 2ba20ed6b7..b21e099943 100644 --- a/README.md +++ b/README.md @@ -23,14 +23,12 @@ flowchart LR B -->|API calls| C[Dapr Sidecar] C -->|State Store, Pub/Sub, Service Invocation, Bindings, Actors, Workflows| D[External Components] C --> A -```` +``` * The application creates a Dapr client (HTTP or gRPC). * The SDK routes API calls (state, pub/sub, service invocation, bindings, actors, workflows). * The Dapr sidecar manages communication with external components and returns responses to the app. -``` - ### Pre-Requisites * SDKMAN! installed (recommended): From 1f431b17360165f738cfa7e9a4b0b131e6e23882 Mon Sep 17 00:00:00 2001 From: RaymundoZa Date: Tue, 9 Sep 2025 02:19:41 -0600 Subject: [PATCH 3/4] Preview New README 3 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b21e099943..fb6f908693 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ This is the Dapr SDK for Java, including the following features: ## Getting Started -## Architecture Overview +### Architecture Overview The diagram below shows how a Java application interacts with the Dapr runtime through the Java SDK: From 7b34d0de5218f6012a661b5b2d1bbc9bc8d820b7 Mon Sep 17 00:00:00 2001 From: RaymundoZa Date: Tue, 9 Sep 2025 02:22:46 -0600 Subject: [PATCH 4/4] docs: add architecture diagram showing Java SDK interaction with Dapr runtime (close #<915>) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fb6f908693..5f5b0b9381 100644 --- a/README.md +++ b/README.md @@ -295,4 +295,4 @@ Once the project has been imported, the individual tests can be run normally as > Sometimes when the `sdk-tests` project does not build correctly, try `File > Invalidate Caches...` and try restarting IntelliJ. -You should be able to set breakpoints and Debug the test directly from IntelliJ itself as seen from the above image. +You should be able to set breakpoints and Debug the test directly from IntelliJ itself as seen from the above image. \ No newline at end of file