SchemaRegistryClientSettings

sealed abstract

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.

Companion
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def baseUrl: String

The base URL of the schema registry service.

The base URL of the schema registry service.

Creates a new SchemaRegistryClient using the settings contained within this SchemaRegistryClientSettings.

Creates a new SchemaRegistryClient using the settings contained within this SchemaRegistryClientSettings.

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.

def properties: Map[String, String]

Properties provided when creating a SchemaRegistryClient. Numerous functions in SchemaRegistryClientSettings add properties here as necessary.

Properties provided when creating a SchemaRegistryClient. Numerous functions in SchemaRegistryClientSettings add properties here as necessary.

Creates a new SchemaRegistryClientSettings instance with the specified authentication details.

Creates a new SchemaRegistryClientSettings instance with the specified authentication details.

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. The arguments are baseUrl, maxCacheSize, and properties.

Creates a new SchemaRegistryClientSettings instance with the specified function for creating new instances of SchemaRegistryClient from settings. The arguments are baseUrl, maxCacheSize, and properties.

Creates a new SchemaRegistryClientSettings instance with the specified maxCacheSize.

Creates a new SchemaRegistryClientSettings instance with the specified maxCacheSize.

def withProperties(properties: (String, String)*): SchemaRegistryClientSettings[F]

Creates a new SchemaRegistryClientSettings instance including properties with the specified keys and values.

Creates a new SchemaRegistryClientSettings instance including properties with the specified keys and values.

def withProperties(properties: Map[String, String]): SchemaRegistryClientSettings[F]

Creates a new SchemaRegistryClientSettings instance including properties with the specified keys and values.

Creates a new SchemaRegistryClientSettings instance including properties with the specified keys and values.

def withProperty(key: String, value: String): SchemaRegistryClientSettings[F]

Creates a new SchemaRegistryClientSettings instance including a property with the specified key and value.

Creates a new SchemaRegistryClientSettings instance including a property with the specified key and value.