-
Notifications
You must be signed in to change notification settings - Fork 801
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
kafkapubsub topicName merge wrong #3413
Comments
So, you shouldn't put the server hostname in the URL, put it (or them) in the |
i call pubsub.go OpenTopic with urlstr= // OpenTopic opens the Topic identified by the URL given.
// See the URLOpener documentation in driver subpackages for
// details on supported URL formats, and https://gocloud.dev/concepts/urls
// for more information.
func OpenTopic(ctx context.Context, urlstr string) (*Topic, error) {
return defaultURLMux.OpenTopic(ctx, urlstr)
} |
I do not understand the question. You should be calling with |
Nail it, thanks! |
why topicName append
u.Host
to headthen:
url = kafka://localhost:9092/a/b/c, topicName = localhost:9092/a/b/c ???
The text was updated successfully, but these errors were encountered: