Enum SchemaResolverProperties.IfArtifactExists
- Namespace
- Solace.SchemaRegistry.Serdes.Core.Resolver
- Assembly
- Solace.SchemaRegistry.Serdes.Core.dll
Defines the behavior when auto-registering an artifact that might already exist in the schema registry.
public enum SchemaResolverProperties.IfArtifactExists
Fields
CreateVersion = 1Creates a new version of the existing artifact.
Fail = 0Fails the registration if the artifact already exists.
FindOrCreateVersion = 2Uses the existing artifact version if it matches, otherwise creates a new version.
Remarks
This enum is used in conjunction with AutoRegisterArtifact to control how the system handles artifact registration when a similar artifact already exists in the registry.