Packages

c

org.apache.spark.sql.confluent.avro

AvroConfluentClient

class AvroConfluentClient extends ConfluentClient[AvroSchema]

Linear Supertypes
ConfluentClient[AvroSchema], Serializable, Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AvroConfluentClient
  2. ConfluentClient
  3. Serializable
  4. Logging
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new AvroConfluentClient(schemaRegistryUrl: String)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. 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
    AvroConfluentClientConfluentClient
  6. 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
    AvroConfluentClientConfluentClient
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def getLatestSchemaFromConfluent(subject: String): (Int, AvroSchema)
    Definition Classes
    ConfluentClient
  12. def getSchemaFromConfluent(id: Int): (Int, AvroSchema)
    Definition Classes
    ConfluentClient
  13. 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
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  16. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  19. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  20. def logDebug(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  21. def logDebug(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  22. def logError(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  23. def logError(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  24. def logInfo(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  25. def logInfo(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  26. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  27. def logTrace(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  28. def logTrace(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  29. def logWarning(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  30. def logWarning(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  34. 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
  35. 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
  36. lazy val sr: SchemaRegistryClient
    Definition Classes
    ConfluentClient
    Annotations
    @transient()
  37. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  38. def test(): Unit

    test connection by calling a simple function

    test connection by calling a simple function

    Definition Classes
    ConfluentClient
  39. def toString(): String
    Definition Classes
    AnyRef → Any
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
    Deprecated

Inherited from ConfluentClient[AvroSchema]

Inherited from Serializable

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped