KafkaFriendshipEventPublisher

@KafkaClient
interface KafkaFriendshipEventPublisher

Functions

Link copied to clipboard
@Topic(value = ["friendship-request-accepted"])
abstract fun publish(event: FriendshipRequestAcceptedEvent)
@Topic(value = ["friendship-request-rejected"])
abstract fun publish(event: FriendshipRequestRejectedEvent)
@Topic(value = ["friendship-request-sent"])
abstract fun publish(event: FriendshipRequestSentEvent)
@Topic(value = ["new-message-in-friendship"])
abstract fun publish(event: NewMessageInFriendshipEvent)