USING AVRO
An app using avro built using gofr.
RUN
To run the app follow the below steps:
go run main.go
This will start the server at port 9111.
DOCKER BUILD
To Build a docker image, follow the below steps:
On non linux machines :
GOOS=linux go build main.go
This will build a go binary
docker build -t using-avro:$(date +%s) .
On linux machines(Ubuntu/Mac):
go build main.go
This will build a go binary
docker build -t using-avro:$(date +%s) .
AVRO PubSub
##Instructions
Avro pub sub uses Kafka to write or read messages.
In order for this example to run: