io.rtdi.bigdata.connector.pipeline.foundation.ISchemaRegistrySource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pipelinefoundation Show documentation
Show all versions of pipelinefoundation Show documentation
The abstraction of an Apache Kafka-like Pipeline and common classes/interfaces.
package io.rtdi.bigdata.connector.pipeline.foundation;
import org.apache.avro.Schema;
import io.rtdi.bigdata.connector.pipeline.foundation.exceptions.PropertiesException;
/**
* Concrete implementation on how to get a schema from the schema registry.
*
*/
public interface ISchemaRegistrySource {
/**
* get schema from the schema registry
*
* @param schemaid of the schema to fetch
* @return Avro Schema
* @throws PropertiesException if something goes wrong
*/
Schema getSchema(int schemaid) throws PropertiesException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy