tisonkun commented on code in PR #16492:
URL: https://github.com/apache/pulsar/pull/16492#discussion_r918775042
##########
pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java:
##########
@@ -2779,6 +2781,10 @@ public class ServiceConfiguration implements
PulsarConfiguration {
)
private Set<String> additionalServlets = new TreeSet<>();
+ public boolean isSubscriptionKeySharedEnable() {
+ return subscriptionKeySharedEnable &&
subscriptionTypesEnabled.contains("Key_Shared");
+ }
Review Comment:
@codelipenghui I'll push a commit to add a UT along with this patch later.
Please confirm whether it's proper when you have spare time :)
--
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]