スキップしてコンテンツを表示

What are inactive/active schemas in AWS EventBridge schema registry?

0

I am working with AWS schema registry and I came across this line where it says:

Inactive schemas will be deleted after two years.

https://docs.aws.amazon.com/eventbridge/latest/schema-reference/v1-registries-name-registryname-schemas-name-schemaname.html#v1-registries-name-registryname-schemas-name-schemaname-prop-describeschemaoutput-lastmodified

What does it mean to have an active and inactive schema? I could not find anything related to this in the AWS docs.

If it does delete the schemas in a custom registry, what is the best way of storing and retrieving schemas if AWS deletes them after two years?.

質問済み 2年前274ビュー
1回答
0

hello

An inactive schema in Amazon EventBridge refers to a schema that is not currently being used to validate incoming events on the associated event bus.

When you create a custom schema in the EventBridge Schema Registry, it becomes an active schema by default, meaning it can be used to validate events. However, you can choose to make a schema inactive (you can do this from the console or from the API), which means it will no longer be used to validate events sent to the event bus. Inactive schemas are still stored in the Schema Registry, but they are not applied to incoming events. You can view and manage both active and inactive schemas for your event buses in the EventBridge console under the "Schemas" section. Inactive schemas can be reactivated later if needed, allowing you to switch between active schemas as required. Maintaining inactive schemas can be useful for preserving historical schema versions or keeping schemas for event types that are no longer in use.

Hope This helps!

AWS
回答済み 2年前
  • Thank you for your answer, can you link me to the api doc or console where I can toggle inactive/active schemas, currently I cannot see this option anywhere under Eventbridge console.

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

関連するコンテンツ