-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Durable Entities #96
Comments
I'm hoping to use durable entities for a simple heartbeat monitor of IoT devices - heartbeat messages would get routed to a service bus queue, which triggers the durable function to save the device info and heartbeat timestamp and check against the age of the last heartbeat received. |
I built something now that uses events in a orchestrator but that should be using a entity to understand where it is and what's happening, that would also allow more complex patterns, with the entity being updated, running some activities at different points for different states etc. |
We use durable entities simply to count the number of activities called during the durable function execution. This is preventing us from migrating the .net c# durable function to python durable function. |
Great! The work to add entities to Python is well underway! @davidmrdavid |
@asipras , oh I have some good news for y'all then 😄 Indeed, Durable Entities for Python are coming and they appear to be working on my local branch. I'm actually expecting to open a PR for those today, although I still need to incorporate a few unit tests for them. Regardless, I believe you can expect them becoming available in the very near future! ⚡ ⚡ |
Nice work, I am used to having durable entities available in C# by now and I'm just adding my voice here without a real use case other than "I really want to play around and see what I can do with them in Python🚀"! Glad to hear it's coming soon! |
Any news or ways we can contribute to make this possible? |
@aminekaabachi The Durable Entities PR already exists and has been ready for some time now here: #184 We're just waiting for an azure functions python worker release to take place for that to get merged and shipped asap. That worker contains some lower-level changes necessary for the Entities PR to actually run. Unfortunately, for stability reasons, that worker release schedule is currently much slower than ours. The good news is that the worker is already in the process of releasing and I understand that it should be available in a matter of weeks now. Sorry this has taken so long, I also can't wait to finally merge this and get it out the door! I'll continue updating this post with updates! Thank you for your interest and your patience ⚡ ⚡ |
Released! |
I'm using VSCode attached to a local container image (mcr.microsoft.com/azure-functions/python:3.0-python3.8-core-tools) In there I have installed azure-functions-core-tools-3 (3.0.3233-1) and in the IDE I have the extension ms-azuretools.vscode-azurefunctions v1.1.0. I understand the azure-functions-core-tools-3 is responsible for providing the list of available durable functions in the VSCode menu and Iassume that this has not been updated yet to include the Durable Entities. |
I think that the |
Thanks for the suggestion @martijnlentink! Also, we have documentation pages for entities on the way! They're just not public yet, but I'm happy to help with any issues you have if you open a new ticket :) . Thanks! |
Thank you @davidmrdavid, although I had the latest extension bundle and core-tools it did not show in the list until I changed the Azure Function template filter from "Verified" to "All", It is in the menu now! 😅 |
Hi @gromag, glad to hear you were finally able to see them. Strange that they were not under "verified" though. |
Would you like to see Durable Entities supported in Python? Let us know here! If possible, include details about how you plan on using them. Thanks!
The text was updated successfully, but these errors were encountered: