We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
consumer, err := c.cli.Subscribe(pulsar.ConsumerOptions{ Topic: config.Topic, SubscriptionName: subscriptionName(config.Topic), Type: pulsar.Failover, }) ConsumerOptions的参数是否可以改成可配置的,通过业务传入,如果没有传入则用默认处理方式,如果传入了,则用传入的进行接受。因为测试环境比较多,需要多个topic进行订阅处理。
consumer, err := c.cli.Subscribe(pulsar.ConsumerOptions{ Topic: config.Topic, SubscriptionName: subscriptionName(config.Topic), Type: pulsar.Failover, })
The text was updated successfully, but these errors were encountered:
No branches or pull requests
consumer, err := c.cli.Subscribe(pulsar.ConsumerOptions{ Topic: config.Topic, SubscriptionName: subscriptionName(config.Topic), Type: pulsar.Failover, })
ConsumerOptions的参数是否可以改成可配置的,通过业务传入,如果没有传入则用默认处理方式,如果传入了,则用传入的进行接受。因为测试环境比较多,需要多个topic进行订阅处理。
The text was updated successfully, but these errors were encountered: