Module: SchemaRegistry

Defined in:
lib/schema_registry.rb,
lib/schema_registry/client.rb,
lib/schema_registry/subject.rb,
lib/schema_registry/version.rb

Defined Under Namespace

Modules: Compatibility Classes: Client, Error, ResponseError, SchemaRegistration, Subject

Constant Summary collapse

InvalidResponse =
Class.new(SchemaRegistry::Error)
RESPONSE_ERROR_CODES =
{
  40401 => (SubjectNotFound           = Class.new(SchemaRegistry::ResponseError)),
  40402 => (VersionNotFound           = Class.new(SchemaRegistry::ResponseError)),
  40403 => (SchemaNotFound            = Class.new(SchemaRegistry::ResponseError)),
  42201 => (InvalidAvroSchema         = Class.new(SchemaRegistry::ResponseError)),
  42202 => (InvalidVersion            = Class.new(SchemaRegistry::ResponseError)),
  42203 => (InvalidCompatibilityLevel = Class.new(SchemaRegistry::ResponseError)),
  409   => (IncompatibleAvroSchema    = Class.new(SchemaRegistry::ResponseError)),
  403   => (UnauthorizedRequest       = Class.new(SchemaRegistry::ResponseError)),
}
VERSION =
"0.0.3"