com.snowplowanalytics.iglu.client.resolver
Looks up the given schema key in the cache, respecting TTL
Looks up the given schema key in the cache, respecting TTL
The SchemaKey uniquely identifying the schema in Iglu
the schema if found as Some Json or None if not found, or cache is not enabled.
Lookup a SchemaList
, no TTL is available
Caches and returns the given schema.
Caches and returns the given schema. If new value is a failure, but cached is success - return cached value in order to avoid invalidating entity due registry outage If new value is a failure, but cached is success - update TTL in order to avoid flooding poorly behaving registry Also responsible for combining failures
iglu URI that has been requested
response from registries, either failure details or schema
the same result or cached one if it was more appropriate
Put a SchemaList
result into a cache
optional TTL in seconds
Resolver cache and associated logic to (in)validate entities, based on TTL and registry responses (failure/success)