From 0cb737c5d4a8c11d89551c82633b65530035d4f4 Mon Sep 17 00:00:00 2001 From: Hannah Hunter Date: Tue, 28 May 2024 12:46:56 -0400 Subject: [PATCH] make tables more clear with checkmarks Signed-off-by: Hannah Hunter --- .../building-blocks/pubsub/pubsub-scopes.md | 30 +++++++++---------- .../setup-pubsub/pubsub-namespaces.md | 12 ++++---- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/daprdocs/content/en/developing-applications/building-blocks/pubsub/pubsub-scopes.md b/daprdocs/content/en/developing-applications/building-blocks/pubsub/pubsub-scopes.md index 300724247..8c718a370 100644 --- a/daprdocs/content/en/developing-applications/building-blocks/pubsub/pubsub-scopes.md +++ b/daprdocs/content/en/developing-applications/building-blocks/pubsub/pubsub-scopes.md @@ -69,17 +69,17 @@ The table below shows which applications are allowed to publish into the topics: | | topic1 | topic2 | topic3 | |------|--------|--------|--------| -| app1 | X | | | -| app2 | | X | X | +| app1 | ✅ | | | +| app2 | | ✅ | ✅ | | app3 | | | | The table below shows which applications are allowed to subscribe to the topics: | | topic1 | topic2 | topic3 | |------|--------|--------|--------| -| app1 | X | X | X | +| app1 | ✅ | ✅ | ✅ | | app2 | | | | -| app3 | X | | | +| app3 | ✅ | | | > Note: If an application is not listed (e.g. app1 in subscriptionScopes) it is allowed to subscribe to all topics. Because `allowedTopics` is not used and app1 does not have any subscription scopes, it can also use additional topics not listed above. @@ -143,17 +143,17 @@ The table below shows which application is allowed to publish into the topics: | | A | B | C | |------|---|---|---| -| app1 | X | | | -| app2 | X | X | | -| app3 | X | X | | +| app1 | ✅ | | | +| app2 | ✅ | ✅ | | +| app3 | ✅ | ✅ | | The table below shows which application is allowed to subscribe to the topics: | | A | B | C | |------|---|---|---| | app1 | | | | -| app2 | X | | | -| app3 | X | X | | +| app2 | ✅ | | | +| app3 | ✅ | ✅ | | ## Example 4: Mark topics as protected @@ -187,17 +187,17 @@ The table below shows which application is allowed to publish into the topics: | | A | B | C | |------|---|---|---| -| app1 | X | X | | -| app2 | | X | | -| app3 | | | X | +| app1 | ✅ | ✅ | | +| app2 | | ✅ | | +| app3 | | | ✅ | The table below shows which application is allowed to subscribe to the topics: | | A | B | C | |------|---|---|---| -| app1 | X | X | | -| app2 | | X | | -| app3 | | | X | +| app1 | ✅ | ✅ | | +| app2 | | ✅ | | +| app3 | | | ✅ | ## Demo diff --git a/daprdocs/content/en/operations/components/setup-pubsub/pubsub-namespaces.md b/daprdocs/content/en/operations/components/setup-pubsub/pubsub-namespaces.md index 612d84bce..eff5f17cb 100644 --- a/daprdocs/content/en/operations/components/setup-pubsub/pubsub-namespaces.md +++ b/daprdocs/content/en/operations/components/setup-pubsub/pubsub-namespaces.md @@ -23,12 +23,12 @@ The table below shows which resources are deployed to which namespaces: | Resource | namespace-a | namespace-b | |------------------------ |-------------|-------------| -| Redis master | X | | -| Redis replicas | X | | -| Dapr's PubSub component | X | X | -| Node subscriber | X | | -| Python subscriber | X | | -| React UI publisher | | X | +| Redis master | ✅ | ❌ | +| Redis replicas | ✅ | ❌ | +| Dapr's PubSub component | ✅ | ✅ | +| Node subscriber | ✅ | ❌ | +| Python subscriber | ✅ | ❌ | +| React UI publisher | ❌ | ✅ | {{% alert title="Note" color="primary" %}} All pub/sub components support limiting pub/sub topics to specific applications using [namespace or component scopes]({{< ref pubsub-scopes.md >}}).