Home / Companies / Upstash / Blog / Post Details
Content Deep Dive

Send Github Events to Kafka Using Vercel Functions

Blog post from Upstash

Post Details
Company
Date Published
Author
Enes Akar
Word Count
603
Language
English
Hacker News Points
-
Summary

This post outlines a method for sending GitHub events to Kafka using Vercel functions as a webhook to transfer events to Upstash Kafka, which serves as a persistent hub due to its replication and durability. By storing GitHub events in Kafka, users can explore both streaming and batching use cases, such as replicating events for analytical purposes or triggering real-time alerts for security teams. The process includes setting up Kafka with a free cluster on Upstash, implementing a webhook using Vercel functions to receive post requests and produce events to Kafka, and configuring GitHub to link a repository to the webhook. The article also highlights the broad possibilities for leveraging data once stored in Kafka, from real-time processing to analytical replication, and provides guidance on troubleshooting potential issues by checking Vercel function logs.