You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/06/23 02:10:49 UTC

[GitHub] [pulsar-client-go] fourhu commented on a diff in pull request #783: add shared subscription priority level

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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org