zhaohai666 opened a new pull request, #1486:
URL: https://github.com/apache/rocketmq-clients/pull/1486

   ## Purpose
   
   Fix log formatting defects found during the real-cluster verification in 
#1473.
   This PR is cosmetic only: no control-flow or RPC behaviour changes.
   
   ## Changes
   
   - `golang/process_queue.go`: `maxAttempt={}` -> `%d`, `messageId={} /
     attempt={} / mq={} / endpoints={} / requestId={}` -> proper verbs,
     `threshold={}` / `actual={}` -> `%d`, and `err=%w` -> `err=%v` in the ack
     failure log (zap does not expand `%w`).
   - `golang/push_consumer.go`: `clientId=%d` -> `%s` in the empty-assignments
     warning, `clientId={}` -> `%s` in the fetch-message log, and relabel the
     change-invisible-duration failure log (it said "message acknowledgement").
   - `golang/simple_consumer.go`: the same mislabeled log text.
   
   ## Test plan
   
   `go build ./...`, `go vet .`, `go test -count=1 .`. No literal `{}` 
placeholders
   remain on the touched lines after a normal 25/25 message end-to-end run.
   
   ---
   
   This PR is part of the split of #1473 into smaller, single-feature PRs for 
easier
   review. #1473 was merged as one large change; this branch reconstructs 
exactly one
   of its features as an atomic commit, based on `master`.
   
   Verified locally in `golang/`: `go build ./...`, `go vet .`, `go test 
-count=1 .`.
   
   > Note: #1473 is already merged upstream, so this PR is the atomic
   > reconstruction of one feature for independent review only.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to