Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined: consumer.WithNsResovler? #594

Closed
DwenSir opened this issue Jan 21, 2021 · 3 comments
Closed

undefined: consumer.WithNsResovler? #594

DwenSir opened this issue Jan 21, 2021 · 3 comments
Labels

Comments

@DwenSir
Copy link

DwenSir commented Jan 21, 2021

consumer, e := rocketmq.NewPushConsumer(
consumer.WithGroupName(config.consumerGroup),
consumer.WithNsResovler(primitive.NewPassthroughResolver([]string{config.NameSrv})),
consumer.WithCredentials(primitive.Credentials{
AccessKey: config.AccessKey,
SecretKey: config.SecretKey,
}),
consumer.WithNamespace("default"),
)
console: undefined: consumer.WithNsResovler
go 1.12

@ShannonDing
Copy link
Member

it seems a typo in "WithNsResovler", link #554

@cuibaiyi
Copy link

cuibaiyi commented Feb 4, 2021

undefined: producer.WithNsResolver
undefined: primitive.NewPassthroughResolver

@stale
Copy link

stale bot commented Apr 16, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 14 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Apr 16, 2022
@stale stale bot closed this as completed Apr 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants