You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by ji...@apache.org on 2026/06/17 03:49:06 UTC
(rocketmq-clients) branch codex/go-sdk-5.1.4 created (now df6564f4)
This is an automated email from the ASF dual-hosted git repository.
RongtongJin pushed a change to branch codex/go-sdk-5.1.4
in repository https://gitbox.apache.org/repos/asf/rocketmq-clients.git
at df6564f4 Prepare Go SDK 5.1.4 release
This branch includes the following new commits:
new df6564f4 Prepare Go SDK 5.1.4 release
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(rocketmq-clients) 01/01: Prepare Go SDK 5.1.4 release
Posted by ji...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
RongtongJin pushed a commit to branch codex/go-sdk-5.1.4
in repository https://gitbox.apache.org/repos/asf/rocketmq-clients.git
commit df6564f4258e452bc68c05f518d40af50db6f3b8
Author: RongtongJin <ji...@mails.ucas.ac.cn>
AuthorDate: Wed Jun 17 11:47:34 2026 +0800
Prepare Go SDK 5.1.4 release
---
golang/example/producer/delay_recall/main.go | 3 ++-
golang/example/producer/priority/main.go | 3 ++-
golang/metadata/metadata.go | 2 +-
golang/user_agent.go | 2 +-
4 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/golang/example/producer/delay_recall/main.go b/golang/example/producer/delay_recall/main.go
index cb7d5253..8eafc44a 100644
--- a/golang/example/producer/delay_recall/main.go
+++ b/golang/example/producer/delay_recall/main.go
@@ -67,7 +67,8 @@ func main() {
// Send delay messages with recall capability
fmt.Println("Sending delay messages that can be recalled...")
- fmt.Println("Messages will be delivered after 10 minutes if not recalled\n")
+ fmt.Println("Messages will be delivered after 10 minutes if not recalled")
+ fmt.Println()
var recallHandles []string
diff --git a/golang/example/producer/priority/main.go b/golang/example/producer/priority/main.go
index 8ce23d13..9e7af326 100644
--- a/golang/example/producer/priority/main.go
+++ b/golang/example/producer/priority/main.go
@@ -67,7 +67,8 @@ func main() {
// Send priority messages with different levels
fmt.Println("Sending priority messages...")
- fmt.Println("Note: Higher priority value = higher priority\n")
+ fmt.Println("Note: Higher priority value = higher priority")
+ fmt.Println()
// Low priority message (priority = 1)
lowPriorityMsg := &rmq_client.Message{
diff --git a/golang/metadata/metadata.go b/golang/metadata/metadata.go
index ccc6627c..128fb957 100644
--- a/golang/metadata/metadata.go
+++ b/golang/metadata/metadata.go
@@ -31,7 +31,7 @@ const (
const (
LanguageValue = "GO"
ProtocolValue = "v2"
- VersionValue = "5.0.1-rc1"
+ VersionValue = "5.1.4"
)
const (
diff --git a/golang/user_agent.go b/golang/user_agent.go
index fd3c88c2..8ee6e22a 100644
--- a/golang/user_agent.go
+++ b/golang/user_agent.go
@@ -29,7 +29,7 @@ type userAgent struct {
}
var globalUserAgent = &userAgent{
- version: "5.0.1-rc1",
+ version: "5.1.4",
platform: utils.GetOsDescription(),
hostName: utils.HostName(),
}