-
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
[Avro Encoder] Add logging of cache size #20245
Labels
Milestone
Comments
JoshLove-msft
added
Client
This issue points to a problem in the data-plane of the library.
Schema Registry
labels
Feb 8, 2022
This was referenced Mar 3, 2022
deyaaeldeen
added a commit
that referenced
this issue
Mar 9, 2022
### Packages impacted by this PR @azure/schema-registry-avro ### Issues associated with this PR Fixes #20245 Fixes #20363 Fixes #20565 ### Describe the problem that is addressed by this PR Logging cache size so customers understands how it grows in their application ### 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? The proposed approach logs the length of all stringified schemas which I believe is consistent with what .NET does. What else could we log here that we should consider? ### Are there test cases added in this PR? _(If not, why?)_ N/A ### Provide a list of related PRs _(if any)_ N/A ### Command used to generate this PR:**_(Applicable only to SDK release request PRs)_ ### Checklists - [x] Added impacted package name to the issue description - [ ] Does this PR needs any fixes in the SDK Generator?** _(If so, create an Issue in the [Autorest/typescript](https://github.com/Azure/autorest.typescript) repository and link it here)_ - [ ] Added a changelog (if necessary)
WeiJun428
pushed a commit
to WeiJun428/azure-sdk-for-js
that referenced
this issue
Mar 20, 2022
### Packages impacted by this PR @azure/schema-registry-avro ### Issues associated with this PR Fixes Azure#20245 Fixes Azure#20363 Fixes Azure#20565 ### Describe the problem that is addressed by this PR Logging cache size so customers understands how it grows in their application ### 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? The proposed approach logs the length of all stringified schemas which I believe is consistent with what .NET does. What else could we log here that we should consider? ### Are there test cases added in this PR? _(If not, why?)_ N/A ### Provide a list of related PRs _(if any)_ N/A ### Command used to generate this PR:**_(Applicable only to SDK release request PRs)_ ### Checklists - [x] Added impacted package name to the issue description - [ ] Does this PR needs any fixes in the SDK Generator?** _(If so, create an Issue in the [Autorest/typescript](https://github.com/Azure/autorest.typescript) repository and link it here)_ - [ ] Added a changelog (if necessary)
WeiJun428
pushed a commit
to WeiJun428/azure-sdk-for-js
that referenced
this issue
Mar 20, 2022
### Packages impacted by this PR @azure/schema-registry-avro ### Issues associated with this PR Fixes Azure#20245 Fixes Azure#20363 Fixes Azure#20565 ### Describe the problem that is addressed by this PR Logging cache size so customers understands how it grows in their application ### 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? The proposed approach logs the length of all stringified schemas which I believe is consistent with what .NET does. What else could we log here that we should consider? ### Are there test cases added in this PR? _(If not, why?)_ N/A ### Provide a list of related PRs _(if any)_ N/A ### Command used to generate this PR:**_(Applicable only to SDK release request PRs)_ ### Checklists - [x] Added impacted package name to the issue description - [ ] Does this PR needs any fixes in the SDK Generator?** _(If so, create an Issue in the [Autorest/typescript](https://github.com/Azure/autorest.typescript) repository and link it here)_ - [ ] Added a changelog (if necessary)
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
As we discussed in the arch board review, we should log the size of the cache whenever a new entry is added.
The text was updated successfully, but these errors were encountered: