Update documentation or provide samples on how to use Message Metadata for Service Bus queue / topic triggered azure functions
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 28/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- azure, java
- Domain
- documentation
Research direction
Start with the linked Service Bus trigger documentation and the Java code example in the issue, then inspect this library's annotations and existing samples for metadata parameters. Reproduce the shown trigger usage and document or sample the supported approach, including what should happen with deliveryCount.
Written by the indexing model from the issue text.
Description
In the official Microsoft documentation here there is a list of message metadata that can be used (or injected) into the azure function. However, there are no samples or documentation on how to do that. For example, doing the following results in an exception at runtime
@FunctionName("Process")
public void run(@ServiceBusTopicTrigger(
name = "req",
topicName = TemplatedConstants.topicName,
subscriptionName = TemplatedConstants.subscriptionName,
connection = "ServiceBusConnectionString")
String message, final ExecutionContext context, Integer deliveryCount) {
because of the extra deliveryCount parameter
- Dominant language
- Java
- Stars
- 45
- Forks
- 49
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Azure/azure-functions-java-library
-
area:java-functions
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Azure/azure-functions-java-library#229 · 1 comment ·
-
area:java-functions
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Azure/azure-functions-java-library#222 · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
area:java-functions
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
area:java-functions
Difficulty 5/5 Over a week Newbie friendliness 25/100
All issues in Azure/azure-functions-java-library
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
refinedmods/refinedstorage2#1414 · 1 comment ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
In Java's `LongBoundedSum`, setting `lower` to `Long.MIN_VALUE` under-estimates the sensitivityOpen
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
google/differential-privacy#489 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
link-check link-check:manual
Difficulty 2/5 1-3 hours Newbie friendliness 85/100