You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ cd ./consumer/ && go run ./cmd/server/
# 2024/01/28 23:13:12 INFO start consuming messages
4. Run Producer Server (new terminal)
$ cd ./producer/ && go run ./cmd/server/
# [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.## [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.# - using env: export GIN_MODE=release# - using code: gin.SetMode(gin.ReleaseMode)## [GIN-debug] POST /log/access --> github.com/Slowhigh/gogger/producer/infra/router.NewRouter.func1 (3 handlers)# [GIN-debug] [WARNING] You trusted all proxies, this is NOT safe. We recommend you to set a value.# Please check https://pkg.go.dev/github.com/gin-gonic/gin#readme-don-t-trust-all-proxies for details. # [GIN-debug] Listening and serving HTTP on :5000
5. Send the HTTP message to the Producer (new terminal)