File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -798,6 +798,14 @@ def my_listener(consumer, message):
798798 batch_index_ack_enabled: Enable the batch index acknowledgement.
799799 It should be noted that this option can only work when the broker side also enables the batch index
800800 acknowledgement. See the `acknowledgmentAtBatchIndexLevelEnabled` config in `broker.conf`.
801+ regex_subscription_mode: RegexSubscriptionMode, optional
802+ Set the regex subscription mode for use when the topic is a regex pattern.
803+
804+ Supported modes:
805+
806+ * PersistentOnly: By default only subscribe to persistent topics.
807+ * NonPersistentOnly: Only subscribe to non-persistent topics.
808+ * AllTopics: Subscribe to both persistent and non-persistent topics.
801809 """
802810 _check_type (str , subscription_name , 'subscription_name' )
803811 _check_type (ConsumerType , consumer_type , 'consumer_type' )
You can’t perform that action at this time.
0 commit comments