Package io.confluent.kafka.serializers
Class GenericContainerWithVersion
java.lang.Object
io.confluent.kafka.serializers.GenericContainerWithVersion
Wrapper for GenericContainer along with a version number, which may be null.
The version is typically the version of the Avro schema of the GenericContainer in the context of a subject. The version is used to set the version on the Connect Schema that is derived from the Avro schema, but only if the Avro schema does not have a property named "connect.version", which takes precedence over the version here.
-
Constructor Summary
ConstructorsConstructorDescriptionGenericContainerWithVersion(org.apache.avro.generic.GenericContainer container, Integer version) -
Method Summary
-
Constructor Details
-
GenericContainerWithVersion
public GenericContainerWithVersion(org.apache.avro.generic.GenericContainer container, Integer version)
-
-
Method Details