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

SiteId placeholder is not working in TelemetryTopicTemplate using Dapr transport #2161

Closed
Haeavar opened this issue Jan 26, 2024 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@Haeavar
Copy link
Contributor

Haeavar commented Jan 26, 2024

Describe the bug
If I set the --SiteId commandline parameter to "xyz" and use it in the --TelemetryTopicTemplate commandline parameter like "events.{SiteId}.{PublisherId}" it does not get replaced. Its still SiteId. PublisherId works as expected.

To Reproduce
Steps to reproduce the behavior:

  1. Set commandline parameters to
    --SiteId=xyz
    --PublisherId=0815
    --TelemetryTopicTemplate=events.{SiteId}.{PublisherId}
    --DefaultTransport=Dapr
  2. Run OpcPublisher

Expected behavior
The message topic should be "events.xyz.0815" but is "events.SiteId.0815"

Additional context
Using mcr.microsoft.com/iotedge/opc-publisher:2.9.4-preview3

@marcschier marcschier added the bug Something isn't working label Jan 26, 2024
@marcschier marcschier added this to the 2.9.4 milestone Jan 26, 2024
@marcschier
Copy link
Collaborator

Fix will be in preview4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants