Class EnvironmentUpdateListener
java.lang.Object
org.qubership.atp.mia.kafka.listeners.EnvironmentUpdateListener
@Component
@ConditionalOnProperty(value="kafka.enable",
havingValue="true")
public class EnvironmentUpdateListener
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidListen start for environment updates to clear cache.
-
Constructor Details
-
EnvironmentUpdateListener
public EnvironmentUpdateListener()
-
-
Method Details
-
listenToEnvironmentService
@KafkaListener(id="${kafka.env.update.listen.group}", groupId="${kafka.env.update.listen.group}", topics="${kafka.env.update.listen.topic}", containerFactory="environmentUpdateEventContainerFactory", autoStartup="true") public void listenToEnvironmentService(@Payload EnvironmentUpdateEvent event) Listen start for environment updates to clear cache.
-