Azure / Azure/azure-functions-java-worker

Send IncludeEmptyEntriesInMessagePayload capability to host to get empty entries in payload

Open
#671 0 comments 0 reactions 1 assignee Assigned to @kamperiadis View on GitHub
area:java-functions Enhancement New Feature reviewed
Dominant language
Java
Stars
103
Forks
74
Avg merge
4d 8h
Merged PRs (30d)
2

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.