Azure / Azure/azure-functions-java-worker

Send IncludeEmptyEntriesInMessagePayload capability to host to get empty entries in payload

Aperta
#671 0 commenti 0 reazioni 1 assegnatario Assegnata a @kamperiadis Vedi su GitHub
area:java-functions Enhancement New Feature reviewed
Lingua principale
Java
Stelle
103
Fork
74
Merge medio
4g 8h
PR unite (30g)
2

Descrizione

For trigger payloads of collection type(ex: event hub trigger payload with batched messages), host will [skip empty entries ](https://github.com/Azure/azure-functions-host/issues/8499)by default. We [recently made a host level change](https://github.com/Azure/azure-functions-host/pull/8642) so that host will not skip empty entries if worker includes `IncludeEmptyEntriesInMessagePayload` capability when advertising the capability list to host. The [dotnet worker was updated to send this capability](https://github.com/Azure/azure-functions-dotnet-worker/pull/1091/) if user opts in for that(_In the next major version, we will enable it by default_). Java worker should consider making similar change.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.