toggle menu
piper-kt
9.3.0
jvm
switch theme
search in API
servers-service
/
piperkt.services.servers.infrastructure.events
/
KafkaServerEventPublisher
Kafka
Server
Event
Publisher
@
KafkaClient
interface
KafkaServerEventPublisher
Members
Functions
publish
Link copied to clipboard
@
Topic
(
value
=
[
"server-created"
]
)
abstract
fun
publish
(
event
:
ServerCreatedEvent
)
@
Topic
(
value
=
[
"server-deleted"
]
)
abstract
fun
publish
(
event
:
ServerDeletedEvent
)
@
Topic
(
value
=
[
"server-updated"
]
)
abstract
fun
publish
(
event
:
ServerUpdatedEvent
)
@
Topic
(
value
=
[
"server-user-added"
]
)
abstract
fun
publish
(
event
:
ServerUserAddedEvent
)
@
Topic
(
value
=
[
"server-user-kicked"
]
)
abstract
fun
publish
(
event
:
ServerUserKickedEvent
)
@
Topic
(
value
=
[
"server-user-removed"
]
)
abstract
fun
publish
(
event
:
ServerUserRemovedEvent
)