-
Notifications
You must be signed in to change notification settings - Fork 83
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
feat(sdk): Add background publisher to MessageBus #466
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job, just a few very minor things...
@lenny-intel made the changes and force-pushed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good! Want @rsdmike to also review before merge
Looks like ya need to run gofmt on the _test.go file:
|
@AlexCuse , verify job failed due to internal/trigger/http/rest_test.go needs to be formatted via gofmt |
Creates a channel of provided capacity and attaches to the sdk instance. This channel is then passed to the trigger so that MessageEnvelopes can be pulled off of it and dropped on the queue. Publisher handles formatting the passed message so there is no need to couple using types from go-mod-messaging. Closes: edgexfoundry#462 Signed-off-by: Alex Ullrich <[email protected]>
I was so happy I remembered the --signoff that time of course I forgot something else. Just pushed should be good. Have a nice weekend! |
Creates a channel of provided capacity and attaches to the sdk instance.
This channel is then passed to the trigger so that MessageEnvelopes can
be pulled off of it and dropped on the queue. Publisher handles
formatting the passed message so there is no need to couple using types
from go-mod-messaging.
Closes: #462
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: 462
What is the new behavior?
Adds a background publisher for MessageBus services
Does this PR introduce a breaking change?
Are there any new imports or modules? If so, what are they used for and why?
No
Are there any specific instructions or things that should be known prior to reviewing?
Other information