apache / rocketmq-clients

RocketMQ Clients - Collection of Client Bindings for Apache RocketMQ
https://rocketmq.apache.org/
Apache License 2.0
321 stars 206 forks source link

[Bug] I cannot run the example for go client v5 #823

Closed MeowSaiGithub closed 3 weeks ago

MeowSaiGithub commented 1 month ago

Before Creating the Bug Report

Programming Language of the Client

Go

Runtime Platform Environment

Windows 10

RocketMQ Version of the Client/Server

5.3.0 docker

Run or Compiler Version

golang 1.23, 1.19

Describe the Bug

I was trying out go sdk for v5, i follow https://rocketmq.apache.org/docs/sdk/05go/ , but when i try to run the producer, it got nil pointer error at

err = producer.Start()

i can confirm that producer itself is not nil. Also in the consumer,

golang.WithSubscriptionExpressions(map[string]*golang.FilterExpression{
            Topic: golang.SUB_ALL,
        }),

this seem to be changed, it is now expression and expresssionType, rather than Topic.

Steps to Reproduce

follow https://rocketmq.apache.org/docs/sdk/05go/

What Did You Expect to See?

a working example

What Did You See Instead?

panic error and sdk changed

Additional Context

No response

github-actions[bot] commented 4 weeks ago

This issue is stale because it has been open for 30 days with no activity. It will be closed in 3 days if no further activity occurs.

github-actions[bot] commented 3 weeks ago

This issue was closed because it has been inactive for 3 days since being marked as stale.