go-kafka-poc

module
v0.0.0-...-1245570 Latest Latest
Warning

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

Go to latest
Published: May 23, 2018 License: MIT

README

Go - Kafka Exercise

This repository contains a POC using Golang and Kafka. The excercise consists in two parts producer and consumer, the producer reads the lines of a file and publishes them in a Kafka topic. The consumer receives the messages and writes them to a different file.

We are using the Confluent's Golang Client for Apache KafkaTM

Usage

Just clone the repository into your local machine, to run the producer, you can type the command below:

go run cmd/producer/main.go source.txt

And in order to run the consumer, you can type:

go run cmd/consumer/main.go

License

This project is licensed under the MIT License.

Contributions

Feel free to make any comment, pull request, code review, shared post, fork or feedback. Everything is welcome.

Authors

Sebastian Zapata Mardini - GitHub profile

Directories

Path Synopsis
cmd
src

Jump to

Keyboard shortcuts

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