Skip to content

Commit 3d8e8a9

Browse files
committed
Merge branch 'endgame_1.15-updates' of https://github.com/hhunter-ms/docs into endgame_1.15-updates
2 parents c510665 + 647166d commit 3d8e8a9

File tree

23 files changed

+1290
-476
lines changed

23 files changed

+1290
-476
lines changed

daprdocs/content/en/concepts/dapr-services/scheduler.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ For non-client side errors, for example, when a job cannot be sent to an availab
6565

6666
The Scheduler service Docker container is started automatically as part of `dapr init`. It can also be run manually as a process if you are running in [slim-init mode]({{< ref self-hosted-no-docker.md >}}).
6767

68-
## Kubernetes mode
68+
The Scheduler can be run in both high availability (HA) and non-HA modes in self-hosted deployments. However, non-HA mode is not recommended for production use. If switching between non-HA and HA modes, the existing data directory must be removed, which results in loss of jobs and actor reminders. [Run a back-up]({{< ref "#back-up-and-restore-scheduler-data" >}}) before making this change to avoid losing data.
6969

70-
The Scheduler service is deployed as part of `dapr init -k`, or via the Dapr Helm charts. When running in Kubernetes mode, the Scheduler service is configured to run with exactly 3 replicas to ensure data integrity.
70+
## Kubernetes mode
7171

72-
You can run Scheduler in high availability (HA) mode. [Learn more about setting HA mode in your Kubernetes service.]({{< ref "kubernetes-production.md#individual-service-ha-helm-configuration" >}})
72+
The Scheduler service is deployed as part of `dapr init -k`, or via the Dapr Helm charts. Scheduler always runs in high availability (HA) mode in Kubernetes deployments. Scaling the Scheduler service replicas up or down is not possible without incurring data loss due to the nature of the embedded data store. [Learn more about setting HA mode in your Kubernetes service.]({{< ref "kubernetes-production.md#individual-service-ha-helm-configuration" >}})
7373

7474
When a Kubernetes namespace is deleted, all the Job and Actor Reminders corresponding to that namespace are deleted.
7575

daprdocs/content/en/developing-applications/building-blocks/conversation/conversation-overview.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,19 @@ Prompt caching optimizes performance by storing and reusing prompts that are oft
3232

3333
The PII obfuscation feature identifies and removes any form of sensitve user information from a conversation response. Simply enable PII obfuscation on input and output data to protect your privacy and scrub sensitive details that could be used to identify an individual.
3434

35+
The PII scrubber obfuscates the following user information:
36+
- Phone number
37+
- Email address
38+
- IP address
39+
- Street address
40+
- Credit cards
41+
- Social Security number
42+
- ISBN
43+
- Media Access Control (MAC) address
44+
- Secure Hash Algorithm 1 (SHA-1) hex
45+
- SHA-256 hex
46+
- MD5 hex
47+
3548
## Demo
3649

3750
Watch the demo presented during [Diagrid's Dapr v1.15 celebration](https://www.diagrid.io/videos/dapr-1-15-deep-dive) to see how the conversation API works using the .NET SDK.

daprdocs/content/en/developing-applications/building-blocks/pubsub/pubsub-cloudevents.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,26 @@ with DaprClient() as client:
108108
topic_name='orders',
109109
publish_metadata={'cloudevent.id': 'd99b228f-6c73-4e78-8c4d-3f80a043d317', 'cloudevent.source': 'payment'}
110110
)
111+
112+
# or
113+
114+
cloud_event = {
115+
'specversion': '1.0',
116+
'type': 'com.example.event',
117+
'source': 'payment',
118+
'id': 'd99b228f-6c73-4e78-8c4d-3f80a043d317',
119+
'data': {'orderId': i},
120+
'datacontenttype': 'application/json',
121+
...
122+
}
123+
124+
# Set the data content type to 'application/cloudevents+json'
125+
result = client.publish_event(
126+
pubsub_name='order_pub_sub',
127+
topic_name='orders',
128+
data=json.dumps(cloud_event),
129+
data_content_type='application/cloudevents+json',
130+
)
111131
```
112132

113133
{{% /codetab %}}

daprdocs/content/en/developing-applications/debugging/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
type: docs
33
title: "Debugging Dapr applications and the Dapr control plane"
44
linkTitle: "Debugging"
5-
weight: 60
5+
weight: 50
66
description: "Guides on how to debug Dapr applications and the Dapr control plane"
77
---

daprdocs/content/en/developing-applications/debugging/bridge-to-kubernetes.md

Lines changed: 0 additions & 28 deletions
This file was deleted.

daprdocs/content/en/developing-applications/develop-components/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
type: docs
33
title: "Components"
44
linkTitle: "Components"
5-
weight: 40
5+
weight: 70
66
description: "Learn more about developing Dapr's pluggable and middleware components"
77
---

daprdocs/content/en/developing-applications/error-codes/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
type: docs
33
title: "Error codes"
44
linkTitle: "Error codes"
5-
weight: 20
5+
weight: 30
66
description: "Error codes and messages you may encounter while using Dapr"
77
---
88

daprdocs/content/en/developing-applications/integrations/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
type: docs
33
title: "Integrations"
44
linkTitle: "Integrations"
5-
weight: 70
5+
weight: 60
66
description: "Dapr integrations with other technologies"
77
---

daprdocs/content/en/developing-applications/local-development/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
type: docs
33
title: "Local development"
44
linkTitle: "Local development"
5-
weight: 50
5+
weight: 40
66
description: "Capabilities for developing Dapr applications locally"
77
---

daprdocs/content/en/developing-applications/integrations/gRPC-integration.md renamed to daprdocs/content/en/developing-applications/local-development/gRPC-integration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
type: docs
33
title: "How to: Use the gRPC interface in your Dapr application"
44
linkTitle: "gRPC interface"
5-
weight: 6000
5+
weight: 400
66
description: "Use the Dapr gRPC API in your application"
77
---
88

0 commit comments

Comments
 (0)