Integrating Grafbase and Redpanda for seamless real-time features
Blog post from Redpanda
Federated GraphQL APIs, which provide teams with the flexibility to build and evolve services independently while maintaining a unified API, often require additional infrastructure for real-time features such as dashboards and notifications. To address this complexity, Grafbase has introduced native support for Apache Kafka via Grafbase Extensions, with Redpanda as the recommended data streaming engine. This integration allows developers to seamlessly incorporate Kafka topics into their federated GraphQL API as virtual subgraphs, eliminating the need for subgraph servers, schema stitching, and glue code. With the new Kafka Extension, users can easily publish and subscribe to event streams using declarative configuration and GraphQL directives without the complexities of traditional Kafka setups. Redpanda, compatible with Kafka API, offers performance, security, and simplicity, allowing for real-time event publication from GraphQL mutations, push-based updates to frontend applications, and durable message storage for historical replay or batch export. The Grafbase Kafka extension simplifies the adoption of GraphQL Federation by abstracting Kafka client configuration, connection pooling, and message serialization, enabling developers to focus on application logic.