golang_kafka_example

module
v0.0.0-...-3c5032a Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2017 License: Apache-2.0

README

Golang Kafka Example

A simple example to how to use Kafka with Go (golang)

Dependencies

  • Docker
  • Docker Compose

How to test

  • Start the app: make run

  • Make requests

    • Send sync message: curl -i -X POST -H 'Content-Type: application/json' -d '{"key": "User", "value": "user@email.com"}' http://localhost/producer/sync
    • Send async message: curl -i -X POST -H 'Content-Type: application/json' -d '{"key": "User", "value": "user@email.com"}' http://localhost/producer/async

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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