sealed abstract class SchemaRegistryClientSettings[F[_]] extends AnyRef
Describes how to create a SchemaRegistryClient
and which settings should be used. Settings are
tailored for default implementation CachedSchemaRegistryClient
.
Use SchemaRegistryClient#apply
to create an instance.
- Alphabetic
- By Inheritance
- SchemaRegistryClientSettings
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def baseUrl: String
The base URL of the schema registry service.
- abstract def createSchemaRegistryClient: F[SchemaRegistryClient]
Creates a new
SchemaRegistryClient
using the settings contained within this SchemaRegistryClientSettings. - abstract def maxCacheSize: Int
The maximum number of schemas to cache in the client.
The maximum number of schemas to cache in the client.
The default value is 1000.
- abstract def properties: Map[String, String]
Properties provided when creating a
SchemaRegistryClient
.Properties provided when creating a
SchemaRegistryClient
. Numerous functions in SchemaRegistryClientSettings add properties here as necessary. - abstract def withAuth(auth: Auth): SchemaRegistryClientSettings[F]
Creates a new SchemaRegistryClientSettings instance with the specified authentication details.
- abstract def withCreateSchemaRegistryClient(createSchemaRegistryClientWith: (String, Int, Map[String, String]) => F[SchemaRegistryClient]): SchemaRegistryClientSettings[F]
Creates a new SchemaRegistryClientSettings instance with the specified function for creating new instances of
SchemaRegistryClient
from settings.Creates a new SchemaRegistryClientSettings instance with the specified function for creating new instances of
SchemaRegistryClient
from settings. The arguments are baseUrl, maxCacheSize, and properties. - abstract def withMaxCacheSize(maxCacheSize: Int): SchemaRegistryClientSettings[F]
Creates a new SchemaRegistryClientSettings instance with the specified maxCacheSize.
- abstract def withProperties(properties: Map[String, String]): SchemaRegistryClientSettings[F]
Creates a new SchemaRegistryClientSettings instance including properties with the specified keys and values.
- abstract def withProperties(properties: (String, String)*): SchemaRegistryClientSettings[F]
Creates a new SchemaRegistryClientSettings instance including properties with the specified keys and values.
- abstract def withProperty(key: String, value: String): SchemaRegistryClientSettings[F]
Creates a new SchemaRegistryClientSettings instance including a property with the specified key and value.
Concrete 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(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- 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
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()