Skip to content

Commit

Permalink
Add graphical README.md to catalog-server
Browse files Browse the repository at this point in the history
  • Loading branch information
Bdegraaf1234 committed Jul 31, 2024
1 parent 4c31e4a commit c4e4585
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions java-sdk/radar-catalog-server/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Flow

Below are several sequence diagrams illustrating the flow of the application during startup and regular operation.

## Startup

On startup, an init container (kafka-init) will be launched to add configured topics to the Kafka schema registry.

This is done using the [docker/topic_init.sh](../../docker/topic_init.sh) script, which calls the `radar-schemas-tools`
command line app

```mermaid
sequenceDiagram
participant kafka-init as kafka-init
participant kafka as Kafka
participant schema-registry as Schema Registry
kafka-init ->> kafka: Create topics
kafka-init ->> schema-registry: Register schemas
```
## Regular operation

After startup the `catalog-server` application will be running and listening for requests on public endpoints.
This application is responsible for providing the source-types on requests, which are configured in the [specifications](../../specifications) folder.

```mermaid
sequenceDiagram
participant client as Client
participant catalog_server as Catalog Server
client ->> catalog_server: Request source-types
catalog_server ->> catalog_server: Read source-types from /specifications/
catalog_server ->> client: Return source-types
```

0 comments on commit c4e4585

Please sign in to comment.