published

Apache Kafka REST Proxy

The Apache Kafka REST Proxy API provides developers a seamless way to integrate with Kafka clusters using RESTful HTTP requests, ideal for data applications.

Developed by Confluent

99.90%Uptime
120msLatency
152Stars
API KeyAuth
NoCredit Card
RESTStyle
v3Version
API Endpoints

Reference for available routes, request structures, and live examples.

Publishes messages to a Kafka topic

Full Endpoint URL
https://docs.confluent.io/topics/{topic}
Implementation Example
curl -X POST 'https://docs.confluent.io/topics/{topic}' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Request Payload
{
  "records": [
    {
      "key": "user123",
      "value": "{\"action\":\"login\",\"time\":1689782400}"
    }
  ]
}
Expected Response
{
  "offsets": [
    {
      "offset": 42,
      "partition": 0
    }
  ]
}
Version:v2
Real-World Applications
  • Building real-time analytics platforms with streaming dataOptimized Capability
  • Creating reactive applications that respond to event streamsOptimized Capability
  • Developing microservices that require persistent messagingOptimized Capability
  • Integrating data processing pipelines in scalable architecturesOptimized Capability
Advantages
  • Simplifies Kafka integration via RESTful HTTP interface
  • Supports multiple payload formats including JSON and Avro
  • Enables consumer group management and topic operations
  • Seamlessly integrates with existing Kafka clusters
Limitations
  • Not a replacement for full Kafka client functionality in complex scenarios
  • Rate limits may impact high-throughput applications
  • Latency higher than native Kafka clients due to HTTP overhead
  • Limited public documentation on rate limits and advanced configuration

FAQs

API Specifications

v3
Pricing Model
Usage-based with free tier and paid options depending on throughput and support
Credit Card
Not Required
Response Formats
JSON, Avro
Supported Languages
6 Languages
SDK Support
Java, Python, Go
Time to Hello World

Minutes

Rate Limit

1000 requests per minute

Free Tier Usage

Up to 500,000 requests per month with limited throughput and access to community support

Use Case: Best For

Developers building event-driven microservices and real-time streaming applications

Not Recommended For

High-throughput Kafka client requirements needing minimal latency

#streaming#kafka

Explore Related APIs

Discover similar APIs to Apache Kafka REST Proxy

View All APIs