class AvroConfluentClient extends ConfluentClient[AvroSchema]
- Alphabetic
- By Inheritance
- AvroConfluentClient
- ConfluentClient
- Serializable
- Logging
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new AvroConfluentClient(schemaRegistryUrl: String)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def checkSchemaCanRead(dataSchema: AvroSchema, readSchema: AvroSchema): Seq[String]
Check if the data produced by existing schema can be read by the new schema.
Check if the data produced by existing schema can be read by the new schema. It allows readers to read old & new messages with the new schema. This is sufficient for schema evolution if all readers can be easily migrated to read using the new schema.
- returns
list of compatibility violations
- Attributes
- protected
- Definition Classes
- AvroConfluentClient → ConfluentClient
- def checkSchemaMutualReadable(schema1: AvroSchema, schema2: AvroSchema): Seq[String]
Check if the data produced by an existing schema can be read by the new schema and vice versa It allows readers to keep using the old schema and reading messages with the new schema.
Check if the data produced by an existing schema can be read by the new schema and vice versa It allows readers to keep using the old schema and reading messages with the new schema.
- returns
list of compatibility violations
- Attributes
- protected
- Definition Classes
- AvroConfluentClient → ConfluentClient
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getLatestSchemaFromConfluent(subject: String): (Int, AvroSchema)
- Definition Classes
- ConfluentClient
- def getSchemaFromConfluent(id: Int): (Int, AvroSchema)
- Definition Classes
- ConfluentClient
- def getSubject(topic: String, subjectType: SubjectType): String
get the subject name for a topic (confluent standard is postfixing '-key' or '-value')
get the subject name for a topic (confluent standard is postfixing '-key' or '-value')
- Definition Classes
- ConfluentClient
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
- Attributes
- protected
- Definition Classes
- Logging
- def initializeLogIfNecessary(isInterpreter: Boolean): Unit
- Attributes
- protected
- Definition Classes
- Logging
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isTraceEnabled(): Boolean
- Attributes
- protected
- Definition Classes
- Logging
- def log: Logger
- Attributes
- protected
- Definition Classes
- Logging
- def logDebug(msg: => String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logDebug(msg: => String): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logError(msg: => String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logError(msg: => String): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logInfo(msg: => String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logInfo(msg: => String): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logName: String
- Attributes
- protected
- Definition Classes
- Logging
- def logTrace(msg: => String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logTrace(msg: => String): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logWarning(msg: => String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logWarning(msg: => String): Unit
- Attributes
- protected
- Definition Classes
- Logging
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def setOrGetSchema(subject: String, newSchema: AvroSchema): (Int, AvroSchema)
Get existing schema, otherwise create schema
Get existing schema, otherwise create schema
- returns
confluent schemaId and registered schema
- Definition Classes
- ConfluentClient
- def setOrUpdateSchema(subject: String, newSchema: AvroSchema, mutualReadCheck: Boolean = false): (Int, AvroSchema)
If schema already exists, update if compatible, otherwise create schema Throws exception if new schema is not compatible.
If schema already exists, update if compatible, otherwise create schema Throws exception if new schema is not compatible.
- returns
confluent schemaId and registered schema
- Definition Classes
- ConfluentClient
- lazy val sr: SchemaRegistryClient
- Definition Classes
- ConfluentClient
- Annotations
- @transient()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def test(): Unit
test connection by calling a simple function
test connection by calling a simple function
- Definition Classes
- ConfluentClient
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
- Deprecated