Class HvlAuthEventKafkaNotifierImpl
java.lang.Object
tr.com.havelsan.javarch.oauth.auth.starter.support.notifier.kafka.HvlAuthEventKafkaNotifierImpl
- All Implemented Interfaces:
HvlAuthEventNotifier
@Profile("kafka")
@Primary
@Component
public class HvlAuthEventKafkaNotifierImpl
extends Object
implements HvlAuthEventNotifier
The class which implements
HvlAuthEventNotifier
.-
Constructor Summary
ConstructorDescriptionHvlAuthEventKafkaNotifierImpl
(tr.com.havelsan.javarch.kafka.notifier.HvlEventNotifier eventNotifier) Instantiates a new HvlAuthEventKafkaNotifierImpl. -
Method Summary
Modifier and TypeMethodDescription<OIEM extends HvlOAuthOperationInfoEventModel>
voidnotifySync
(@NotBlank String topic, OIEM operationInfoEventModel) Send event sync.
-
Constructor Details
-
HvlAuthEventKafkaNotifierImpl
public HvlAuthEventKafkaNotifierImpl(tr.com.havelsan.javarch.kafka.notifier.HvlEventNotifier eventNotifier) Instantiates a new HvlAuthEventKafkaNotifierImpl.- Parameters:
eventNotifier
- the event notifier
-
-
Method Details
-
notifySync
public <OIEM extends HvlOAuthOperationInfoEventModel> void notifySync(@NotBlank @NotBlank String topic, @NotNull OIEM operationInfoEventModel) Send event sync.- Specified by:
notifySync
in interfaceHvlAuthEventNotifier
- Type Parameters:
OIEM
- the type parameter- Parameters:
topic
- the topicoperationInfoEventModel
- the operation info event model
-