Usage of publish facade
All Submissions:
- [YES] I have added an explanation of what changes in this merge do and why we should include it?
- [NO] Does the MR contain pipeline/ helm chart related changes?
- [NA] I have updated the documentation accordingly.
- [YES] I have added tests to cover my changes.
- [YES] All new and existing tests passed.
- [YES] My code follows the code style of this project.
- [NA] I ran lint checks locally prior to submission.
What is the issue or story related to the change?
This MR introduces the use of publisher facade which can be used to publish messages to message brokers(Service Bus/ Event Grid).The pub sub configuration can be used to configure publishing for Event grid and Service bus. The batch size is taken as "10" for both Event Grid and Service bus. Earlier they were 10 and 50 respectively.
Test coverage:
- All existing and new TC's passed.
Does this introduce a breaking change?
- [NO]
Edited by Nikhil Singh[MicroSoft]