File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -1639,6 +1639,7 @@ pub(crate) mod messages {
16391639 . collect ( ) ,
16401640 read_compacted : Some ( options. read_compacted . unwrap_or ( false ) ) ,
16411641 initial_position : Some ( options. initial_position . into ( ) ) ,
1642+ replicate_subscription_state : options. replicate_subscription_state ,
16421643 schema : options. schema ,
16431644 start_message_id : options. start_message_id ,
16441645 ..Default :: default ( )
Original file line number Diff line number Diff line change @@ -31,6 +31,10 @@ pub struct ConsumerOptions {
3131 /// }
3232 /// ```
3333 pub initial_position : InitialPosition ,
34+ /// Mark the subscription as "replicated". Pulsar will make sure
35+ /// to periodically sync the state of replicated subscriptions
36+ /// across different clusters (when using geo-replication).
37+ pub replicate_subscription_state : Option < bool > ,
3438}
3539
3640impl ConsumerOptions {
You can’t perform that action at this time.
0 commit comments