Sports Betting

A licensed sportsbook offers live in-play betting on 200+ concurrent matches. Odds must adjust within 500ms of any game event (goal, red card, injury) — traders who are slow get arbitraged by sharp bettors monitoring odds across 15 competing books.

During a Champions League match, a 73rd-minute red card took 8 seconds to reflect in odds. Sharp bettors placed $180K in +EV bets before the line moved.
LIVEmatch_events
match_idevent_typeminuteteamplayerhome_scoreaway_scorets
UCL-2024-QF3KICK_OFF1homeNULL002024-03-15T20:00:00.000Z
UCL-2024-QF3GOAL23homeM. Salah102024-03-15T20:23:14.000Z
UCL-2024-QF3YELLOW_CARD38awayL. Martinez102024-03-15T20:38:42.000Z
UCL-2024-QF3GOAL52awayV. Osimhen112024-03-15T20:52:07.000Z
UCL-2024-QF3SUBSTITUTION61homeD. Nunez112024-03-15T21:01:33.000Z
UCL-2024-QF3RED_CARD73awayL. Martinez112024-03-15T21:13:28.000Z
Streaming SQLRunning
Ingest live match event feed from Kafka
CREATE SOURCE match_events WITH (
  connector = 'kafka',
  topic = 'sports.match.events',
  properties.bootstrap.server = 'broker:9092'
) FORMAT PLAIN ENCODE JSON;
Compute live win probabilities and odds
live_oddsauto-updating
match_idmarkethome_probaway_probhome_oddsaway_oddslast_event
UCL-2024-QF3moneyline0.590.41-144+144GOAL
UCL-2024-QF3moneyline0.780.22-355+355RED_CARD
UCL-2024-QF3moneyline0.890.11-809+809GOAL
RisingWave processes the red card event from the data feed within 120ms. Win probability for the 10-man team drops from 41% to 22%, and moneyline odds auto-adjust from +145 to +340 before the first sharp bet lands.
Best-in-Class Event Streaming
for Agents, Apps, and Analytics
GitHubXLinkedInSlackYouTube
Sign up for our to stay updated.