module
Version:
v0.0.0-...-3c5032a
Opens a new window with list of versions in this module.
Published: Jul 2, 2017
License: Apache-2.0
Opens a new window with license information.
README
¶
Golang Kafka Example
A simple example to how to use Kafka with Go (golang)
Dependencies
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
¶
cmd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.