public Schema loadFromRegistry(int id) throws SchemaRegistryException {
    try {
      return registryClient.getByID(id);
    } catch (IOException | RestClientException e) {
      throw new SchemaRegistryException(e);
    }
  }
public Schema loadFromRegistry(int id) throws SchemaRegistryException {
    try {
      return registryClient.getByID(id);
    } catch (IOException | RestClientException e) {
      throw new SchemaRegistryException(e);
    }
  }
public Schema loadFromRegistry ( int id ) throws SchemaRegistryException { try { return registryClient . getByID ( id ) ; } catch ( IOException | RestClientException e ) { throw new SchemaRegistryException ( e ) ; } }
Loads and parses a schema for the specified schema ID from the schema registry
@param id schema ID to fetch from the registry
@return parsed avro schema
@throws SchemaRegistryException if there is an error with the registry client
Loads and parses a schema for the specified schema ID from the schema registry