Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDK: Dynamic Topic Formatting for MQTTSecretSender #871

Closed
AlexCuse opened this issue May 28, 2021 · 0 comments · Fixed by #872 or #873
Closed

SDK: Dynamic Topic Formatting for MQTTSecretSender #871

AlexCuse opened this issue May 28, 2021 · 0 comments · Fixed by #872 or #873
Assignees
Labels
2-medium priority denoting issues with cross-cutting project impact app-services subsystem_affected for application services enhancement New feature or request
Milestone

Comments

@AlexCuse
Copy link
Contributor

With the new context storage added in #866 I would like to be able to reference these stored values in the publish topic for a MQTTSecretSender. Eg "topic/{my-context-key}" would publish to "topic/context-value-found-at-my-context-key" on each execution for an individual sender. The context storage lowercases all keys currently, so only lowercase placeholders will work.

In addition I would like to be able to specify my own function to MQTTSecretSender to apply custom formatting to the configured topic based on the parameters passed to MQTTSend.

@lenny-goodell lenny-goodell added 2-medium priority denoting issues with cross-cutting project impact app-services subsystem_affected for application services enhancement New feature or request labels Jun 1, 2021
@lenny-goodell lenny-goodell changed the title Dynamic Topic Formatting for MQTTSecretSender SDK: Dynamic Topic Formatting for MQTTSecretSender Jun 1, 2021
@lenny-goodell lenny-goodell added this to the Ireland milestone Jun 1, 2021
AlexCuse pushed a commit to AlexCuse/app-functions-sdk-go that referenced this issue Jun 2, 2021
Use replacement with context values as done with MQTT for edgexfoundry#871.  Parse
resulting URL to ensure it is valid.

Signed-off-by: Alex Ullrich <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2-medium priority denoting issues with cross-cutting project impact app-services subsystem_affected for application services enhancement New feature or request
Projects
None yet
2 participants