[@azure/eventgrid] - Azure EventGrid Beta Release V5.1.0-beta.1 #27666
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.
Packages impacted by this PR
@azure/eventgrid
Issues associated with this PR
NA
Describe the problem that is addressed by this PR
i. A new API
renewCloudEventLocks
has been added.ii. In the
publishCloudEvent
API, a new optionbinaryMode
has been added. This enables the users to send in the binary encoded event.iii. There are some other minor changes and some breaking changes also in this PR.
What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
One of the design decisions is around the
binaryMode
. Currently, the API accepts only binary encoded data for this API. If there is a requirement in the future that the user prefers that the encoding be done by the SDK, we could consider it in future,Are there test cases added in this PR? (If not, why?)
Yes. New test cases have been added to test the
binaryMode
and the newrenewCloudEventLocks
API.Provide a list of related PRs (if any)
Checklists
@xirzec Please review and approve the PR & API Views.
API View to approve