Skip to content

Commit

Permalink
Docs sync done from apache/pulsar (#77570d5)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 19, 2024
1 parent e3a90c7 commit f505330
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 4 deletions.
30 changes: 29 additions & 1 deletion static/reference/next/config/reference-configuration-broker.md
Original file line number Diff line number Diff line change
Expand Up @@ -1958,6 +1958,34 @@ Allow schema to be auto updated at broker level. User can override this by 'is_a

**Category**: Policies

### keySharedLookAheadMsgInReplayThresholdPerConsumer
For Key_Shared subscriptions, if messages cannot be dispatched to consumers due to a slow consumer or a blocked key hash (because of ordering constraints), the broker will continue reading more messages from the backlog and attempt to dispatch them to consumers until the number of replay messages reaches the calculated threshold.
Formula: threshold = min(keySharedLookAheadMsgInReplayThresholdPerConsumer * connected consumer count, keySharedLookAheadMsgInReplayThresholdPerSubscription).
Setting this value to 0 will disable the limit calculated per consumer.

**Type**: `int`

**Default**: `2000`

**Dynamic**: `true`

**Category**: Policies

### keySharedLookAheadMsgInReplayThresholdPerSubscription
For Key_Shared subscriptions, if messages cannot be dispatched to consumers due to a slow consumer or a blocked key hash (because of ordering constraints), the broker will continue reading more messages from the backlog and attempt to dispatch them to consumers until the number of replay messages reaches the calculated threshold.
Formula: threshold = min(keySharedLookAheadMsgInReplayThresholdPerConsumer * connected consumer count, keySharedLookAheadMsgInReplayThresholdPerSubscription).
This value should be set to a value less than 2 * managedLedgerMaxUnackedRangesToPersist.
Setting this value to 0 will disable the limit calculated per subscription.


**Type**: `int`

**Default**: `20000`

**Dynamic**: `true`

**Category**: Policies

### maxConsumerMetadataSize
Maximum size of Consumer metadata

Expand Down Expand Up @@ -3409,7 +3437,7 @@ Max memory size for broker handling messages sending from producers.

**Type**: `int`

**Default**: `1998`
**Default**: `1999`

**Dynamic**: `true`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1958,6 +1958,34 @@ Allow schema to be auto updated at broker level. User can override this by 'is_a

**Category**: Policies

### keySharedLookAheadMsgInReplayThresholdPerConsumer
For Key_Shared subscriptions, if messages cannot be dispatched to consumers due to a slow consumer or a blocked key hash (because of ordering constraints), the broker will continue reading more messages from the backlog and attempt to dispatch them to consumers until the number of replay messages reaches the calculated threshold.
Formula: threshold = min(keySharedLookAheadMsgInReplayThresholdPerConsumer * connected consumer count, keySharedLookAheadMsgInReplayThresholdPerSubscription).
Setting this value to 0 will disable the limit calculated per consumer.

**Type**: `int`

**Default**: `2000`

**Dynamic**: `true`

**Category**: Policies

### keySharedLookAheadMsgInReplayThresholdPerSubscription
For Key_Shared subscriptions, if messages cannot be dispatched to consumers due to a slow consumer or a blocked key hash (because of ordering constraints), the broker will continue reading more messages from the backlog and attempt to dispatch them to consumers until the number of replay messages reaches the calculated threshold.
Formula: threshold = min(keySharedLookAheadMsgInReplayThresholdPerConsumer * connected consumer count, keySharedLookAheadMsgInReplayThresholdPerSubscription).
This value should be set to a value less than 2 * managedLedgerMaxUnackedRangesToPersist.
Setting this value to 0 will disable the limit calculated per subscription.


**Type**: `int`

**Default**: `20000`

**Dynamic**: `true`

**Category**: Policies

### maxConsumerMetadataSize
Maximum size of Consumer metadata

Expand Down Expand Up @@ -3409,7 +3437,7 @@ Max memory size for broker handling messages sending from producers.

**Type**: `int`

**Default**: `1998`
**Default**: `1999`

**Dynamic**: `true`

Expand Down
2 changes: 1 addition & 1 deletion static/swagger/master/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -1824,7 +1824,7 @@
"none",
"changed"
],
"example": "'all_matching' (default) for unloading all matching namespaces. 'none' for not unloading any namespace. 'changed' for unloading only the namespaces whose placement is actually changing",
"example": "'changed' (default) for unloading only the namespaces whose placement is actually changing. 'all_matching' for unloading all matching namespaces. 'none' for not unloading any namespaces.",
"type": "string"
}
},
Expand Down
2 changes: 1 addition & 1 deletion static/swagger/master/v2/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -1824,7 +1824,7 @@
"none",
"changed"
],
"example": "'all_matching' (default) for unloading all matching namespaces. 'none' for not unloading any namespace. 'changed' for unloading only the namespaces whose placement is actually changing",
"example": "'changed' (default) for unloading only the namespaces whose placement is actually changing. 'all_matching' for unloading all matching namespaces. 'none' for not unloading any namespaces.",
"type": "string"
}
},
Expand Down

0 comments on commit f505330

Please sign in to comment.