case class SchemaRegistryConnection(config: RegistrySchemaConfig) extends Product with Serializable
Schema registry connection used to obtain AVRO schemas from Confluent Kafka Schema Registry. given either their ID or a subject. Also possible to fetch schema with explicit version. By default latest version is obtained.
- config
Registry-kind schema configuration
- Note
At this point only AVRO schemas are supported.
,This connection is not used to read any data, therefore, it does not extend DQConnection.
- Alphabetic
- By Inheritance
- SchemaRegistryConnection
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
SchemaRegistryConnection(config: RegistrySchemaConfig)
- config
Registry-kind schema configuration
Type Members
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
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val config: RegistrySchemaConfig
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getSchemaById(id: Int, version: Option[Int]): String
Reads schema from registry provided by its ID and optional explicit version.
Reads schema from registry provided by its ID and optional explicit version.
- id
Schema ID
- version
Optional schema version
- returns
Schema canonical string representation
-
def
getSchemaBySubject(subject: String, version: Option[Int]): String
Reads schema from registry provided by its subject and optional explicit version.
Reads schema from registry provided by its subject and optional explicit version.
- subject
Schema subject
- version
Optional schema version
- returns
Schema canonical string representation
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()