added producer metrics, modified kafka write logic

This commit is contained in:
aishwarya-raimule
2023-01-12 12:59:22 +05:30
parent 755b85ef15
commit e940f69528
8 changed files with 95 additions and 30 deletions

1
go.mod
View File

@@ -8,6 +8,7 @@ require (
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b // indirect
github.com/golang/protobuf v1.4.1 // indirect
github.com/gorilla/mux v1.8.0
github.com/magiconair/properties v1.8.7 // indirect
github.com/pkg/errors v0.9.1
github.com/prometheus/client_golang v0.9.3
github.com/riferrei/srclient v0.2.1