-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[@azure/event-hubs] Adding disableDeserialization
option when subscribing
#18173
Merged
ramya-rao-a
merged 14 commits into
Azure:main
from
marcodalessandro:madales/eh/skip_json_parse
Oct 28, 2021
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
883181c
[@azure/event-hubs] Added option to disable deserialization
marcodalessandro e40e6f2
[@azure/event-hubs] Added option to disable deserialization
marcodalessandro 31ed7f1
[@azure/event-hubs] Added option to disable deserialization
marcodalessandro d05daeb
[@azure/event-hubs] Added option to disable deserialization
marcodalessandro 06e0690
[@azure/event-hubs] Updated CHANGELOG
marcodalessandro 521ec54
[@azure/event-hubs] Fixed formatting
marcodalessandro 6a0ab36
[@azure/event-hubs] Bumped version
marcodalessandro ef2b570
Merge branch 'main' into madales/eh/skip_json_parse
marcodalessandro eababb9
[@azure/event-hubs] Fixes according to PR #18173 comments
marcodalessandro a1ede1f
[@azure/event-hubs] Updated CHANGELOG
marcodalessandro 23264ef
[@azure/event-hubs] Chores on documentation
marcodalessandro 9693d45
Update sdk/eventhub/event-hubs/CHANGELOG.md
marcodalessandro 567d408
[@azure/event-hubs] Chores on documentation
marcodalessandro 5994422
[@azure/event-hubs] Chores on option name
marcodalessandro File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,5 +6,5 @@ | |
*/ | ||
export const packageJsonInfo = { | ||
name: "@azure/event-hubs", | ||
version: "5.6.1" | ||
version: "5.7.0" | ||
}; |
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
Oops, something went wrong.
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.
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.
Unrelated to this PR:
@richardpark-msft, @HarshaNalluru Do you recall what is the scenario where we will be trying to decode something that is not a rhea amqp section? This
isRheaAmqpSection
method was introduced in #15939, but the idea of "lets try decodingbody.content
if it exists, otherwise decodebody
itself" was present before as wellThere 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.
Logged #18216 for follow up here
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.
It was added long long ago and we never touched it I believe, and always retained the piece of code.
For both Event Hubs and Service Bus.
Body is not a rhea amqp section if the body is undefined or the typecode is bad somehow.
It feels like it just means we don't understand the body/content, and as the last line of defense, we'll do whatever we used to do before instead of throwing an error.