published

Apache Kafka REST Proxy

The Apache Kafka REST Proxy API offers a free, robust interface for developers to interact with Apache Kafka, streamlining data applications without needing native clients.

Developed by Confluent

99.95%Uptime
90msLatency
2.1kStars
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
  • Integrating Kafka with non-Java applicationsOptimized Capability
  • Building real-time event-driven microservicesOptimized Capability
  • Streaming analytics ingestion endpointsOptimized Capability
  • Creating web front-ends for Kafka monitoringOptimized Capability
  • REST-based IoT stream ingestionOptimized Capability
Advantages
  • No need for native Kafka client libraries
  • Easy HTTP-based integration into any language
  • Supports JSON, Avro, and binary formats
  • Scalable for production workloads
  • Open source and actively maintained
Limitations
  • Not as low-latency as native Kafka clients
  • May require additional authentication configuration
  • REST overhead compared to direct Kafka protocol usage
  • Limited to HTTP(S) transport layer
  • Advanced features may require native client

FAQs

API Specifications

v3
Pricing Model
Pay-as-you-go
Credit Card
Not Required
Response Formats
JSON, Avro
Supported Languages
7 Languages
SDK Support
REST Only
Time to Hello World

Under 10 minutes with Docker or package install

Rate Limit

1000 requests per minute

Free Tier Usage

Up to 5,000 messages per month free on Confluent Cloud Standard tier.

Use Case: Best For

Developers building HTTP-based integrations for streaming and event-driven architectures without Kafka protocol knowledge.

Not Recommended For

Use cases requiring ultra-low-latency or advanced Kafka protocol features available only in native clients.

#streaming#kafka

Explore Related APIs

Discover similar APIs to Apache Kafka REST Proxy

View All APIs