github.com/evrenkutar/randevent@v0.0.0-20210506235643-7d1e39a375e1/README.md (about) 1 # RANDEVENT 2 3 The purpose of this package is to generate events and push them to a kafka stream. 4 With this you can work with your event based application. 5 For now, it only covers proto buffers. 6 7 ## Requirements 8 9 - protobuf 3.15.8 10 11 ## build 12 13 `go build` 14 15 ## run 16 17 #### 1. generate proto files: 18 `randevent generate -p=samples/person.proto` 19 20 #### 2. start kafka in docker container 21 This step is produced following this [guide](https://docs.confluent.io/platform/current/quickstart/ce-docker-quickstart.html#step-1-download-and-start-cp-using-docker). 22 `docker-compose up` 23 24 #### 3. emit events 25 `randevent emit -i=100`