Skip to main content

Event Reporting

Event Reporting enables the Game Platform to send real-time tournament events to external systems via AWS SQS queues. This provides reliable, asynchronous communication for webhook delivery, analytics, and business logic integration.

SQS Event Architecture

Event Flow

  1. Game Platform generates tournament events during gameplay
  2. SQS Queue receives events for reliable, ordered processing

Tournament Platform Event Notifications

New Feature: Tournament Platform now sends automatic event notifications to Game Platform for tournament lifecycle events.
The Tournament Platform proactively notifies the Game Platform about important tournament events through HTTP webhooks. This enables real-time synchronization and automatic game room management.

Configuration

Add the Game Platform URL to your Tournament Platform environment:

Supported Events

Tournament Start Event

Sent when a tournament begins (manual start or scheduled start):

Tournament Cancellation Event

Sent when a tournament is cancelled (scheduled or in-progress):

Event Reliability

  • Non-blocking: Event notifications don’t block tournament operations
  • Error Handling: Failed notifications are logged but don’t affect tournaments
  • Retry Logic: Automatic retries with exponential backoff
  • Comprehensive Logging: All event notifications are logged for debugging
  1. Event Processor consumes events and triggers appropriate actions
  2. External Systems receive notifications via webhooks or API calls

SQS Event Types

Tournament Lifecycle Events

Tournament Started

Tournament Completed

Player Events

Player Connected

Player Score Updated

Player Eliminated

Game Events

Round Started

Event Publishing Implementation

SQS Event Publisher

Tournament Event Manager

Game Integration Example

Error Handling & Reliability

Dead Letter Queue Handling

Event Monitoring

Testing & Debugging

Event Testing Framework

Next Steps

Casino Integration

Learn how Casino Systems receive and process tournament events via webhooks.

Database Schema

Explore the database schema supporting the tournament platform architecture.