├── broker broker subsystem
├── cmd commands
│ └── jocko command to run a Jocko broker and manage topics
├── commitlog low-level commit log implementation
├── examples examples running/using Jocko
│ ├── cluster example booting up a 3-broker Jocko cluster
│ └── sarama example producing/consuming with Sarama
├── protocol golang implementation of Kafka's protocol
├── prometheus wrapper around Prometheus' client lib to handle metrics
├── server API subsystem
└── testutil test utils
└── mock mocks of the various subsystems
Building
Local
Clone Jocko
$ go get github.com/travisjeffery/jocko
Build Jocko
$ cd $GOPATH/src/github.com/travisjeffery/jocko
$ make build
(If you see an error about dep not being found, ensure that
$GOPATH/bin is in your PATH)
Docker
docker build -t travisjeffery/jocko:latest .
Contributing
See CONTRIBUTING for details on submitting patches and the contribution workflow.
License
Jocko is under the MIT license, see the LICENSE file for details.