Class HvlNotificationKafkaClientServiceImpl
java.lang.Object
tr.com.havelsan.javarch.notification.kafka.client.service.HvlNotificationKafkaClientServiceImpl
- All Implemented Interfaces:
HvlNotificationKafkaClientService
@Service
public class HvlNotificationKafkaClientServiceImpl
extends Object
implements HvlNotificationKafkaClientService
The class which implements
HvlNotificationKafkaClientService
-
Constructor Summary
ConstructorDescriptionHvlNotificationKafkaClientServiceImpl
(tr.com.havelsan.javarch.kafka.notifier.HvlEventNotifier eventNotifier) Instantiates a new HvlNotificationKafkaClientService. -
Method Summary
Modifier and TypeMethodDescriptionvoid
notify
(@NotBlank String topicName, @NotNull Serializable serializable) Sends notification.
-
Constructor Details
-
HvlNotificationKafkaClientServiceImpl
public HvlNotificationKafkaClientServiceImpl(tr.com.havelsan.javarch.kafka.notifier.HvlEventNotifier eventNotifier) Instantiates a new HvlNotificationKafkaClientService.- Parameters:
eventNotifier
- the event notifier
-
-
Method Details
-
notify
public void notify(@NotBlank @NotBlank String topicName, @NotNull @NotNull Serializable serializable) Sends notification.- Specified by:
notify
in interfaceHvlNotificationKafkaClientService
- Parameters:
topicName
- refers to kafka topicserializable
-Serializable
-