Azure / Azure/Azure-Functions

Function apps sharing Storage

Open
#2,103 2 comments 0 reactions 1 assignee Claimed by @v-bbalaiagar View on GitHub
area: documentation
Dominant language
PowerShell
Stars
1.1k
Forks
215
Avg merge
4h 2m
Merged PRs (30d)
1

Description

We have an azure Function app (Function_A), and now we want to migrate Function_A to another ASE. We don't want any downtime or data loss so we will create a Function_B in the new ASE using the same storage as Function_A, and running with the same code/configuration.
When both Function_A and Function_B are running, Could all the non-http triggers be triggered only in one function app?
e.g.:
1. TimerTrigger : Seems we need to set the same host ID in these two functions to make TimerTrigger only run in one app?
2. CosmosDBTrigger : Yes.
3. QueueTrigger: Yes.
4. EventHubTrigger : Will Function_A and Function_B both consume the data in the same eventhub?

When we are shutting down Function_A, will it wait all the current running tasks to complete before shutdown?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.