fourhu commented on code in PR #783:
URL: https://github.com/apache/pulsar-client-go/pull/783#discussion_r904455435
##########
pulsar/consumer_impl.go:
##########
@@ -72,6 +73,14 @@ func newConsumer(client *client, options ConsumerOptions)
(Consumer, error) {
return nil, newError(SubscriptionNotFound, "subscription name
is required for consumer")
}
+ if options.PriorityLevel <= 0 {
+ options.PriorityLevel = 0
Review Comment:
ok, i will add then error later
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]