Azure / azure-webjobs-sdk-extensions

Azure WebJobs SDK Extensions
MIT License
344 stars 206 forks source link

Add Trigger for Azure Table Storage #3

Open rustd opened 9 years ago

mathewc commented 9 years ago

Please provide details on how you'd expect the binding to work. In general, for all "it'd be awesome to have trigger/binding X" I'd like issues created to include lots of details on attribute model, polling model, etc.

rustd commented 9 years ago
// Any time an entity is added/ deleted/ updated
public static void TableTrigger1([TableTrigger("tablename")] MyPoco mypoco)
// Any time an entity with a specified rowkey/partitionkey is added/ deleted/ updated
public static void TableTrigger1([TableTrigger("tablename","pk","rk")] MyPoco mypoco)

The polling model could be based on Storage logs.

atrauzzi commented 7 years ago

I think there's another permutation on the signature that could be made:

public static void TableTrigger1([TableTrigger("tablename")] TableEvent<MyPoco> myPocoTableEvent)

I think in some cases, I'm not going to know the partition ahead of time, but it is significant to how I'll handle the event, so that TableEvent type could be used to offer desired metadata outside of any DTO/model.

ggirard07 commented 5 years ago

No update on this? Having the polling mechanism for table trigger consolidated with blob trigger will avoid to poll twice for the same information...

AlissonRS commented 5 years ago

It'd be nice to use this. I hope they revisit this and implement it.