🔧 Update Go module dependencies and modify NATS configuration to exclusively support JetStream mode. Upgrade go.uber.org/zap to version 1.27.1 and golang.org/x/crypto to version 0.45.0. Revise Makefile and documentation to reflect changes in NATS mode, ensuring consistent messaging behavior across development and production environments. Enhance README and configuration files to clarify JetStream usage and remove references to Core NATS mode.
This commit is contained in:
+2
-2
@@ -85,13 +85,13 @@ tasks:
|
||||
- GO_ENV=test {{.binary}} listen
|
||||
|
||||
run-local:
|
||||
desc: 'Run receiver via go run (default GO_ENV=dev, uses core NATS mode by default). Use MONITORING_ADDR=ip:port to set monitoring address'
|
||||
desc: 'Run receiver via go run (default GO_ENV=dev, uses JetStream mode). Use MONITORING_ADDR=ip:port to set monitoring address'
|
||||
vars:
|
||||
MONITORING_ADDR:
|
||||
sh: echo "${MONITORING_ADDR:-}"
|
||||
cmds:
|
||||
- |
|
||||
echo "Running receiver via go run (GO_ENV=${GO_ENV:-dev}, NATS mode: core by default in dev)..."
|
||||
echo "Running receiver via go run (GO_ENV=${GO_ENV:-dev}, NATS mode: JetStream)..."
|
||||
- |
|
||||
cmd="GO_ENV=${GO_ENV:-dev} go run {{.cmd}} listen"
|
||||
if [ -n "${MONITORING_ADDR:-}" ]; then
|
||||
|
||||
Reference in New Issue
Block a user