Kafka
Sample integration with Open Loyalty using Kafka
Last updated
Was this helpful?
Sample integration with Open Loyalty using Kafka
Last updated
Was this helpful?
Open Loyalty sends webhooks events to an Integration Service using HTTP protocol. The Integration Service is responsible for accepting the HTTP POST method and the ETL process, and for streaming the event to the Kafka topic. Then, the Consumer Service is responsible for consuming the event and executing business logic.
The Client sends events directly to the Kafka topic. Then, the Server is responsible for consuming the event and executing business logic. This logic may involve Open Loyalty’s API, like in the case below, but not only. The first step is validating that the Member is registered in Open Loyalty and, if true, it sends the event to Open Loyalty using REST API. Finally, the Server calls the Marketing Automation API to send a push notification to the Client.