azure-webjobs-sdk-extensions icon indicating copy to clipboard operation
azure-webjobs-sdk-extensions copied to clipboard

Add Trigger for Azure Table Storage

Open rustd opened this issue 9 years ago • 5 comments

rustd avatar Jul 20 '15 03:07 rustd

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.

mathewc avatar Jul 20 '15 16:07 mathewc

// 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.

rustd avatar Jul 28 '15 00:07 rustd

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.

atrauzzi avatar Oct 11 '17 16:10 atrauzzi

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

ggirard07 avatar Jun 28 '19 15:06 ggirard07

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

AlissonRS avatar Oct 30 '19 04:10 AlissonRS