Class KafkaNotificationConfiguration
java.lang.Object
org.qubership.atp.environments.config.KafkaNotificationConfiguration
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconnectionEventNotificationService(org.springframework.kafka.core.KafkaTemplate<UUID, String> kafkaTemplate) Creates ConnectionEventNotificationService.environmentEventNotificationService(org.springframework.kafka.core.KafkaTemplate<UUID, String> kafkaTemplate) Creates EnvironmentEventNotificationService.projectEventListener(ProjectService projectService) Creates project event listener.systemEventNotificationService(org.springframework.kafka.core.KafkaTemplate<UUID, String> kafkaTemplate) Creates SystemEventNotificationService.
-
Field Details
-
kafkaEnvironmentsProducerTopic
-
kafkaSystemsProducerTopic
-
-
Constructor Details
-
KafkaNotificationConfiguration
public KafkaNotificationConfiguration()
-
-
Method Details
-
projectEventListener
Creates project event listener.- Returns:
- ProjectEventListener
-
environmentEventNotificationService
@Bean public EventNotificationService environmentEventNotificationService(org.springframework.kafka.core.KafkaTemplate<UUID, String> kafkaTemplate) Creates EnvironmentEventNotificationService.- Parameters:
kafkaTemplate- - kafka template- Returns:
- - ProjectEventNotificationService.
-
systemEventNotificationService
@Bean public EventNotificationService systemEventNotificationService(org.springframework.kafka.core.KafkaTemplate<UUID, String> kafkaTemplate) Creates SystemEventNotificationService.- Parameters:
kafkaTemplate- - kafka template- Returns:
- - ProjectEventNotificationService.
-
connectionEventNotificationService
@Bean public EventNotificationService connectionEventNotificationService(org.springframework.kafka.core.KafkaTemplate<UUID, String> kafkaTemplate) Creates ConnectionEventNotificationService.- Parameters:
kafkaTemplate- - kafka template- Returns:
- - ProjectEventNotificationService.
-