kafka-http-proxy

command module
v0.3.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2015 License: GPL-2.0 Imports: 23 Imported by: 0

README

kafka-http-proxy

The project provides a simple HTTP interface for Apache Kafka to store and read JSON messages.

HTTP API

Url Structure: {schema}://{host}/v1/topics/{topic}/{partition}
Method: POST
Description: Write message

Url Structure: {schema}://{host}/v1/topics/{topic}/{partition}?offset={offset}&limit={limit}
Method: GET
Description: Receive messages

Url Structure: {schema}://{host}/v1/info/topics
Method: GET
Description: Obtain topic list

Url Structure: {schema}://{host}/v1/info/topics/{topic}
Method: GET
Description: Obtain information about all partitions in topic

Url Structure: {schema}://{host}/v1/info/topics/{topic}/{partition}
Method: GET
Description: Obtain information about partition

How to Install

$ go get -u github.com/legionus/kafka-http-proxy

LICENSE

The project is licensed under the GNU General Public License.

More about the Apache Kafka: http://kafka.apache.org/

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL