LogoLogo
HomepageCase studiesBook a demo
Technical Guide
Technical Guide
  • Introduction
  • Getting Started Guide
    • Authentication
    • Member Registration Configuration
    • Add Webhook
    • Add Member
    • Create Campaign
    • Add Transaction
    • Add Custom Event Schema
    • Create Achievement
    • Add Custom Event
  • Terms Reference
  • Backward Compatibility Policy
  • API Reference
  • Postman Collection
  • User Guide
  • Integration
    • Introduction
    • Overview of Integration Methods
    • Tools and Technologies
    • Integration Examples
      • Lambda
      • Zapier
      • AWS EventBridge
      • Kafka
  • API Fundamentals
    • Overview
    • Environments Capabilities
    • How to Query
    • Limits
    • Best Practices
  • Authentication
    • Admin Token
    • Access Token (API Key)
    • Enabling SSO Login
      • Okta
      • Microsoft Entra ID
  • Webhooks
    • Overview
    • Best Practices
  • S3 Bucket Data exports
    • Overview
    • Set Up S3 Bucket Integration
    • Data Structure and Types
      • Achievements
      • Achievement Usage
      • Campaigns
      • Campaign Calculated Effect Result
      • Campaign Execution
      • Custom Events
      • Members
      • Rewards
      • Rewards Redemption
      • Tiers
      • Transactions
      • Tenants
      • Unit Transfers
Powered by GitBook
On this page

Was this helpful?

  1. Integration
  2. Integration Examples

Kafka

Sample integration with Open Loyalty using Kafka

Last updated 4 months ago

Was this helpful?

1

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.

2

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.