Go event sourcing with Kafka, example project
Switch branches/tags
Nothing to show
Clone or download
Latest commit ce6b00c Mar 28, 2017
Permalink
Failed to load latest commit information.
vendor update vendor Mar 28, 2017
.gitignore ignore vendor (using govendor sync) Mar 28, 2017
Dockerfile docker file Mar 28, 2017
README.md docker file Mar 28, 2017
bank_account.go working: Mar 28, 2017
banku working: Mar 28, 2017
banku_suite_test.go working: Mar 28, 2017
consumer.go working: Mar 28, 2017
couponku working: Mar 28, 2017
docker-compose.yml docker file Mar 28, 2017
events.go working: Mar 28, 2017
events_test.go working: Mar 28, 2017
kafka.go working: Mar 28, 2017
main.go not needed Mar 28, 2017
processor.go working: Mar 28, 2017
processor_test.go working: Mar 28, 2017
producer.go working: Mar 28, 2017

README.md

Banku

A demonstration for event sourcing using Go and Kafka.

To run this project:

  1. Install Go
  2. Install Kafka
  3. Install govendor
  4. Run govendor sync
  5. Run go build && ./banku --act=consumer to run the program as consumer
  6. Run go build && ./banku to run the program as producer

To run testing:

docker-compose run app ginkgo

Or, you may as well follow the tutorial here:

Cheers, Adam!