Azure / Azure/iot-operations-sdks

[ASK] How to "pass" an MQTT RPC call

Open
#799 18 comments 0 reactions 1 assignee Claimed by @avishekpant View on GitHub
Dominant language
C#
Stars
20
Forks
27
Avg merge
2d 1h
Merged PRs (30d)
33

Description

### Product

.NET SDK

### Azure Iot Operations version

_No response_

### What happened?

Using the AIO SDK, to write a handler that handles multiple MQTT paths
`[CommandTopic("foo/bar/{method}")]`

and not passing in `method` into the TopicTokenMap, so that the AIO SDK use the MQTT wildcard `+`. Will allow the user to read the actual used method used out of the `extendedRequest.RequestMetadata.TopicTokens` dictionary.

But how to avoid answering that call, if the `method` isn't something the current service is responsible for? How to tell the AIO SDK, that it should not respond to that call?

### List the steps to reproduce

_No response_

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.