kafpro

command module
v0.0.0-...-f8c3f29 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2021 License: MIT Imports: 3 Imported by: 0

README

kafpro

Kafka REST API Proxy

Build

make dependencies
make build
make dev

Build Docker

make docker

Configuration (environment variable)

KAFKA_BROKERS=localhost:9092
READ_TIMEOUT=20

Run

env KAFKA_BROKERS=localhost:9092 ./kafpro serve

Usage

Retrieve Message from Topic

GET /topic/{topic_name}/{consumer_group}

Bulk Retrieve

GET /topic/{topic_name}/{consumer_group}?max={number_of_message}

Send Message (JSON)

POST /topic/{topic_name} @body

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api

Jump to

Keyboard shortcuts

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