Closed lenny-goodell closed 10 months ago
@cloudxxx8 , this fixes the issue with lazy connect. Had to make it optional and not cause service to exit on start-up to avoid backwards breaking changes. #1526 will address the Store and Forward part.
Attention: 57 lines
in your changes are missing coverage. Please review.
:exclamation: No coverage uploaded for pull request base (
main@f1b4116
). Click here to learn what that means.
Files | Patch % | Lines |
---|---|---|
pkg/transforms/mqttsecret.go | 18.00% | 41 Missing :warning: |
internal/app/configurable.go | 63.63% | 11 Missing and 5 partials :warning: |
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@judehung please help review this PR
I don't quite sure if this PR can really fixes the OOM as described in #1516. I'll have to make further test--ds-virtual reproducing high frequency data (10 messages per 200 ms) and unreachable MQTT broker--to confirm my suspicion.
UPDATED:
Just make a test to have ds-virtual produce high frequency data (10 messages per 200 ms) and unreachable MQTT broker. The MEM USAGE of app-new-service as reported by docker stats
looks quite stable without soaring, so my suspicion about OOM can be denied.
@cloudxxx8 , could you please approve as a committer. THX!
Performance enhancement for when service is processing many events very fast causing back ups when using lazy connection.
closes #1516
If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/app-functions-sdk-go/blob/main/.github/CONTRIBUTING.md
PR Checklist
Please check if your PR fulfills the following requirements:
BREAKING CHANGE:
describing the break)Testing Instructions
Run non-secure edgex stack with Device Virtual and MQTT Broker
Comment out existing pipeline function init code in app template Add the following pipeline function int code
Build and run app-template with TRACE logging
Verify events are being processed and exported
Stop the MQTT Broker verify logs contain
Restart the MQTT Broker Verify logs contain
Verify events are again being processed and exported
New Dependency Instructions (If applicable)