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

tedge has inconsistent default topics for aws and az #3377

Open
reubenmiller opened this issue Feb 3, 2025 · 0 comments
Open

tedge has inconsistent default topics for aws and az #3377

reubenmiller opened this issue Feb 3, 2025 · 0 comments
Labels
bug Something isn't working theme:aws Theme: AWS cloud related topics theme:az Theme: Azure IoT related topics theme:mqtt Theme: mqtt and mosquitto related topics

Comments

@reubenmiller
Copy link
Contributor

reubenmiller commented Feb 3, 2025

Describe the bug

The tedge config list topics shows that the default topics used by the mappers have different defaults (which is unexpected as each mapper should send the same data to the cloud).

$ tedge config list topics

c8y.topics=["te/+/+/+/+", "te/+/+/+/+/twin/+", "te/+/+/+/+/m/+", "te/+/+/+/+/e/+", "te/+/+/+/+/a/+", "te/+/+/+/+/status/health"]
az.topics=["te/+/+/+/+/m/+", "te/+/+/+/+/e/+", "te/+/+/+/+/a/+", "te/+/+/+/+/status/health"]
aws.topics=["te/+/+/+/+/m/+", "te/+/+/+/+/e/+", "te/+/+/+/+/a/+", "te/+/+/+/+/status/health"]

The az.topics and aws.topics are missing the following topics:

  • te/+/+/+/+
  • te/+/+/+/+/twin/+

To Reproduce

Check the default settings by running:

tedge config list topics

Expected behavior

  • The default c8y, aws and az mapper topics should be the same.
  • The root prefix should also be respected when the tedge-mapper subscribes to the local thin-edge.io topics

Screenshots

Environment (please complete the following information):

  • OS [incl. version]: any
  • Hardware [incl. revision] any
  • System-Architecture [e.g. result of "uname -a"]: any
  • thin-edge.io version [e.g. 0.1.0]: 1.4.2

Additional context

@reubenmiller reubenmiller added bug Something isn't working theme:mqtt Theme: mqtt and mosquitto related topics theme:aws Theme: AWS cloud related topics theme:az Theme: Azure IoT related topics labels Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working theme:aws Theme: AWS cloud related topics theme:az Theme: Azure IoT related topics theme:mqtt Theme: mqtt and mosquitto related topics
Projects
None yet
Development

No branches or pull requests

1 participant