toggle menu
Wow
3.16.8
jvm
switch theme
search in API
wow-spring-boot-starter
/
me.ahoo.wow.spring.boot.starter.kafka
/
KafkaProperties
Kafka
Properties
@
ConfigurationProperties
(
prefix
=
"wow.kafka"
)
class
KafkaProperties
(
@
DefaultValue
(
value
=
[
"true"
]
)
var
enabled
:
Boolean
=
true
,
var
bootstrapServers
:
List
<
String
>
,
@
DefaultValue
(
value
=
[
"wow."
]
)
var
topicPrefix
:
String
=
Wow.WOW_PREFIX
,
val
properties
:
Map
<
String
,
String
>
=
mapOf()
,
val
producer
:
Map
<
String
,
String
>
=
mapOf()
,
val
consumer
:
Map
<
String
,
String
>
=
mapOf()
)
:
EnabledCapable
Members
Constructors
Kafka
Properties
Link copied to clipboard
constructor
(
@
DefaultValue
(
value
=
[
"true"
]
)
enabled
:
Boolean
=
true
,
bootstrapServers
:
List
<
String
>
,
@
DefaultValue
(
value
=
[
"wow."
]
)
topicPrefix
:
String
=
Wow.WOW_PREFIX
,
properties
:
Map
<
String
,
String
>
=
mapOf()
,
producer
:
Map
<
String
,
String
>
=
mapOf()
,
consumer
:
Map
<
String
,
String
>
=
mapOf()
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
bootstrap
Servers
Link copied to clipboard
var
bootstrapServers
:
List
<
String
>
consumer
Link copied to clipboard
val
consumer
:
Map
<
String
,
String
>
enabled
Link copied to clipboard
open
override
var
enabled
:
Boolean
producer
Link copied to clipboard
val
producer
:
Map
<
String
,
String
>
properties
Link copied to clipboard
val
properties
:
Map
<
String
,
String
>
common properties
topic
Prefix
Link copied to clipboard
var
topicPrefix
:
String
Functions
bootstrap
Servers
To
String
Link copied to clipboard
fun
bootstrapServersToString
(
)
:
String
build
Receiver
Options
Link copied to clipboard
fun
buildReceiverOptions
(
)
:
ReceiverOptions
<
String
,
String
>
build
Sender
Options
Link copied to clipboard
fun
buildSenderOptions
(
)
:
SenderOptions
<
String
,
String
>