-
Notifications
You must be signed in to change notification settings - Fork 46
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
Add prefer_module_identity_cache option #543
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
arsing
approved these changes
Aug 16, 2023
kodiakhq bot
pushed a commit
to Azure/iotedge
that referenced
this pull request
Aug 16, 2023
Update the iotedge tool for the new option introduced in Azure/iot-identity-service#543
gordonwang0
added a commit
to gordonwang0/iot-identity-service
that referenced
this pull request
Aug 22, 2023
Adds the prefer_module_identity_cache (defaults to false) option in identityd's configuration. Current behavior is to request module identities from IoT Hub and fall back to a cached backup if the Hub request fails. This keeps identities in sync with IoT Hub, but results in extra requests to Hub that may not be necessary depending on use case. Setting prefer_module_identity_cache to true reverses the behavior so that the cached identities are preferred to IoT Hub requests. Requests to Hub are still made if identities are not found in the cache.
kodiakhq bot
pushed a commit
that referenced
this pull request
Sep 14, 2023
Adds the prefer_module_identity_cache (defaults to false) option in identityd's configuration. Current behavior is to request module identities from IoT Hub and fall back to a cached backup if the Hub request fails. This keeps identities in sync with IoT Hub, but results in extra requests to Hub that may not be necessary depending on use case. Setting prefer_module_identity_cache to true reverses the behavior so that the cached identities are preferred to IoT Hub requests. Requests to Hub are still made if identities are not found in the cache.
gordonwang0
added a commit
to gordonwang0/iotedge
that referenced
this pull request
Sep 14, 2023
Update the iotedge tool for the new option introduced in Azure/iot-identity-service#543
kodiakhq bot
pushed a commit
to Azure/iotedge
that referenced
this pull request
Sep 14, 2023
Update the iotedge tool for the new option introduced in Azure/iot-identity-service#543
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds the prefer_module_identity_cache (defaults to false) option in identityd's configuration.
Current behavior is to request module identities from IoT Hub and fall back to a cached backup if the Hub request fails. This keeps identities in sync with IoT Hub, but results in extra requests to Hub that may not be necessary depending on use case.
Setting prefer_module_identity_cache to true reverses the behavior so that the cached identities are preferred to IoT Hub requests. Requests to Hub are still made if identities are not found in the cache.