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

feat(json): Add function CodecJsonEnabled inside ISchemaRegistryClient interface #110

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
5 changes: 5 additions & 0 deletions mockSchemaRegistryClient.go
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,11 @@ func (mck *MockSchemaRegistryClient) CodecCreationEnabled(bool) {
// Nothing because codecs do not matter in the inMem storage of schemas
}

// CodecJsonEnabled is not implemented
func (mck *MockSchemaRegistryClient) CodecJsonEnabled(value bool) {
// Nothing because codecs do not matter in the inMem storage of schemas
}

// IsSchemaCompatible is not implemented
func (mck *MockSchemaRegistryClient) IsSchemaCompatible(string, string, string, SchemaType, ...Reference) (bool, error) {
return false, errNotImplemented
Expand Down
1 change: 1 addition & 0 deletions schemaRegistryClient.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ type ISchemaRegistryClient interface {
CachingEnabled(value bool)
ResetCache()
CodecCreationEnabled(value bool)
CodecJsonEnabled(value bool)
IsSchemaCompatible(subject, schema, version string, schemaType SchemaType, references ...Reference) (bool, error)
}

Expand Down
Loading