8000 GitHub - curzonj/kafka-http-go: A playground to explore go and kafka
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Sep 6, 2019. It is now read-only.

curzonj/kafka-http-go

Repository files navigation

Don't use this for anything. It's just my play ground for go and kafka.

env var defaults

BASIC_AUTH=changeme
PORT=3000

Useful commands

Related links

Generic webhook support

/publish?param=1&topic=kafka-topic -->

{
        "request_id": "uuid, either from the request or newly generated"
        "webhook": {
                "param": 1
        },
        "payload": {
                ...
        }
}

TODO

  • don't wait if there are no messages to consume
  • http streaming publish and consume
  • websockets publish and consume
  • go-metrics uses mutexes on each metric, for small messages and low io/network latency there is more contention on those mutexes. At what point is that an issue?
  • sarama refers it's logging to Logger. Find out where that is and how to get it going to stderr
  • sarama supports tons of configuration options, we should support more of them
  • use the json schema stuff to generate a ruby kafka http api client, :)
  • Allow connection specific producer configuration via params for long running connections

About

A playground to explore go and kafka

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0