Class GenericContainerWithVersion

java.lang.Object
io.confluent.kafka.serializers.GenericContainerWithVersion
All Implemented Interfaces:
ParsedSchemaAndValue

public class GenericContainerWithVersion extends Object implements ParsedSchemaAndValue
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.