Skip to content
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

[Schema Registry] Remove caching #17732

Merged
merged 6 commits into from
Sep 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions sdk/schemaregistry/schema-registry/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

### Other Changes

- remove caching from the client. The customer can rely on the one in the serializer package such as `@azure/schema-registry-avro` or write their own that makes most sense in their application.

## 1.0.0-beta.2 (2021-08-17)

### Features Added
Expand Down
7 changes: 0 additions & 7 deletions sdk/schemaregistry/schema-registry/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,6 @@ schema registry.

### Register a schema

`registerSchema` sends a request to the service to register a schema, and then keeps
a copy of the schema and its service ID in a local private cache.

```javascript
const { DefaultAzureCredential } = require("@azure/identity");
const { SchemaRegistryClient } = require("@azure/schema-registry");
Expand All @@ -95,8 +92,6 @@ console.log(registered.id);

### Get ID of existing schema

`getSchemaId` will send a request to the service only if the local cache did not have the schema.

```javascript
const { DefaultAzureCredential } = require("@azure/identity");
const { SchemaRegistryClient } = require("@azure/schema-registry");
Expand All @@ -118,8 +113,6 @@ if (found) {

### Get content of existing schema by ID

Similarly to `getSchemaId`, `getSchema` will send a request to the service only if the local cache did not have the schema ID.

```javascript
const { DefaultAzureCredential } = require("@azure/identity");
const { SchemaRegistryClient } = require("@azure/schema-registry");
Expand Down

This file was deleted.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading