Azure / azure-functions-dotnet-worker

Azure Functions out-of-process .NET language worker
MIT License
431 stars 184 forks source link

How to set TrackLastEnqueuedEventProperties in the isolated EventHub extensions #2856

Open vakuras opened 3 days ago

vakuras commented 3 days ago

Hi,

We are migrating from in process model and we are using the TrackLastEnqueuedEventProperties setting. Is there a way to configure this with the isolated worker?

Thanks

liliankasem commented 2 days ago

I don't believe there is a way to set that value today with the dotnet-isolated eventhub extension. With the in-proc (WebJobs) extension, TrackLastEnqueuedEventProperties is set via EventHubOptions - we don't have this in our trigger attribute.

Tagging @fabiocav or @JoshLove-msft in case there is another way to do this that I might have missed? Otherwise I will flag this as an enhacement.