Interface GatewayEventConsumer
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface GatewayEventConsumer
The gateway event consumer is the main entry point of the event gateway microservice. Its responsibility is to read the events from the event source in ACS, transform them to standardRepoEventobjects and route them to theEventRoutercomponent.- See Also:
EventRouter,RepoEvent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidstartConsumingEvents()Start the consumption of events from the ACS event source.
-
-
-
Method Detail
-
startConsumingEvents
void startConsumingEvents()
Start the consumption of events from the ACS event source. The implementation of this method should be idempotent, so that several invocations of it does not disturb the normal consumption of events from the source.The event gateway microservice invokes this method at the end of the microservice startup process, once the rest of services are up and ready.
-
-