Toggle table of contents
2.x-SNAPSHOT
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
xtdb-kafka
/
xtdb.api.log
/
KafkaCluster
/
ClusterFactory
Cluster
Factory
@
Serializable
@
SerialName
(
value
=
"!Kafka"
)
data
class
ClusterFactory
@
JvmOverloads
constructor
(
val
bootstrapServers
:
String
,
var
pollDuration
:
Duration
=
Duration.ofSeconds(1)
,
var
propertiesMap
:
Map
<
String
,
String
>
=
emptyMap()
,
var
propertiesFile
:
Path
?
=
null
,
var
schemaRegistryUrl
:
String
?
=
null
,
var
groupId
:
String
=
"xtdb"
,
var
coroutineContext
:
CoroutineContext
=
Dispatchers.Default
)
:
Remote.Factory
<
KafkaCluster
>
Members
Constructors
Cluster
Factory
Link copied to clipboard
@
JvmOverloads
constructor
(
bootstrapServers
:
String
,
pollDuration
:
Duration
=
Duration.ofSeconds(1)
,
propertiesMap
:
Map
<
String
,
String
>
=
emptyMap()
,
propertiesFile
:
Path
?
=
null
,
schemaRegistryUrl
:
String
?
=
null
,
groupId
:
String
=
"xtdb"
,
coroutineContext
:
CoroutineContext
=
Dispatchers.Default
)
Properties
bootstrap
Servers
Link copied to clipboard
val
bootstrapServers
:
String
coroutine
Context
Link copied to clipboard
@
Transient
var
coroutineContext
:
CoroutineContext
group
Id
Link copied to clipboard
var
groupId
:
String
poll
Duration
Link copied to clipboard
var
pollDuration
:
Duration
properties
File
Link copied to clipboard
var
propertiesFile
:
Path
?
properties
Map
Link copied to clipboard
var
propertiesMap
:
Map
<
String
,
String
>
schema
Registry
Url
Link copied to clipboard
var
schemaRegistryUrl
:
String
?
Functions
group
Id
Link copied to clipboard
fun
groupId
(
groupId
:
String
)
:
KafkaCluster.ClusterFactory
open
Link copied to clipboard
open
override
fun
open
(
)
:
KafkaCluster
poll
Duration
Link copied to clipboard
fun
pollDuration
(
pollDuration
:
Duration
)
:
KafkaCluster.ClusterFactory
properties
File
Link copied to clipboard
fun
propertiesFile
(
propertiesFile
:
Path
)
:
KafkaCluster.ClusterFactory
properties
Map
Link copied to clipboard
fun
propertiesMap
(
propertiesMap
:
Map
<
String
,
String
>
)
:
KafkaCluster.ClusterFactory
schema
Registry
Url
Link copied to clipboard
fun
schemaRegistryUrl
(
schemaRegistryUrl
:
String
)
:
KafkaCluster.ClusterFactory