toggle menu
piper-kt
9.3.0
jvm
switch theme
search in API
friendships-service
/
piperkt.services.friendships.infrastructure.events
/
KafkaFriendshipEventPublisher
/
publish
publish
@
Topic
(
value
=
[
"friendship-request-sent"
]
)
abstract
fun
publish
(
event
:
FriendshipRequestSentEvent
)
@
Topic
(
value
=
[
"friendship-request-accepted"
]
)
abstract
fun
publish
(
event
:
FriendshipRequestAcceptedEvent
)
@
Topic
(
value
=
[
"new-message-in-friendship"
]
)
abstract
fun
publish
(
event
:
NewMessageInFriendshipEvent
)
@
Topic
(
value
=
[
"friendship-request-rejected"
]
)
abstract
fun
publish
(
event
:
FriendshipRequestRejectedEvent
)