From e686e7bd01005a144ee76235eac16afd4f9ad84d Mon Sep 17 00:00:00 2001 From: joshvanl Date: Wed, 22 May 2024 22:28:41 +0100 Subject: [PATCH] Move feature preview line to top of note Signed-off-by: joshvanl --- .../building-blocks/pubsub/howto-publish-subscribe.md | 2 +- .../building-blocks/pubsub/subscription-methods.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/daprdocs/content/en/developing-applications/building-blocks/pubsub/howto-publish-subscribe.md b/daprdocs/content/en/developing-applications/building-blocks/pubsub/howto-publish-subscribe.md index 83d30e9a806..0e53ba46906 100644 --- a/daprdocs/content/en/developing-applications/building-blocks/pubsub/howto-publish-subscribe.md +++ b/daprdocs/content/en/developing-applications/building-blocks/pubsub/howto-publish-subscribe.md @@ -185,10 +185,10 @@ The example above shows an event subscription to topic `orders`, for the pubsub Place `subscription.yaml` in the same directory as your `pubsub.yaml` component. When Dapr starts up, it loads subscriptions along with the components. {{% alert title="Note" color="primary" %}} +This feature is currently in preview. Dapr can be made to "hot reload" declarative subscriptions, whereby updates are picked up automatically without needing a restart. This is enabled by via the [`HotReload` feature gate]({{< ref "support-preview-features.md" >}}). To prevent reprocessing or loss of unprocessed messages, in-flight messages between Dapr and your application are unaffected during hot reload events. -This feature is currently in preview. {{% /alert %}} Below are code examples that leverage Dapr SDKs to subscribe to the topic you defined in `subscription.yaml`. diff --git a/daprdocs/content/en/developing-applications/building-blocks/pubsub/subscription-methods.md b/daprdocs/content/en/developing-applications/building-blocks/pubsub/subscription-methods.md index 67505422212..15fab159f59 100644 --- a/daprdocs/content/en/developing-applications/building-blocks/pubsub/subscription-methods.md +++ b/daprdocs/content/en/developing-applications/building-blocks/pubsub/subscription-methods.md @@ -20,10 +20,10 @@ The examples below demonstrate pub/sub messaging between a `checkout` app and an ### Declarative subscriptions {{% alert title="Note" color="primary" %}} +This feature is currently in preview. Dapr can be made to "hot reload" declarative subscriptions, whereby updates are picked up automatically without needing a restart.. This is enabled by via the [`HotReload` feature gate]({{< ref "support-preview-features.md" >}}). To prevent reprocessing or loss of unprocessed messages, in-flight messages between Dapr and your application are unaffected during hot reload events. -This feature is currently in preview. {{% /alert %}} You can subscribe declaratively to a topic using an external component file. This example uses a YAML component file named `subscription.yaml`: