Method: AvroTurf::CachedConfluentSchemaRegistry#check
- Defined in:
- lib/avro_turf/cached_confluent_schema_registry.rb
#check(subject, schema) ⇒ Object
27 28 29 |
# File 'lib/avro_turf/cached_confluent_schema_registry.rb', line 27 def check(subject, schema) @cache.lookup_data_by_schema(subject, schema) || @cache.store_data_by_schema(subject, schema, @upstream.check(subject, schema)) end |