You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tools/Propulsion.Tool/Sync.fs
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ type [<NoEquality; NoComparison; RequireSubcommand>] Parameters =
30
30
interface IArgParserTemplate with
31
31
membera.Usage= a |>function
32
32
| ConsumerGroupName _->"Projector instance context name. Optional if source is JSON"
33
-
| MaxReadAhead _->"maximum number of batches to let processing get ahead of completion. Default: File: 32768 Other: 2."
33
+
| MaxReadAhead _->"maximum number of batches to let processing get ahead of completion. Default: File: 32768 Other: 4."
34
34
| MaxWriters _->"maximum number of concurrent streams on which to process at any time. Default: 8 (Cosmos: 16)."
35
35
| FromTail ->"(iff fresh projection) - force starting from present Position. Default: Ensure each and every event is projected from the start."
36
36
| Follow ->"Stop when the Tail is reached."
@@ -40,7 +40,7 @@ type [<NoEquality; NoComparison; RequireSubcommand>] Parameters =
40
40
"Default: assume events arrive from the changefeed (and/or the input JSON file) without any gaps or out of order deliveries for any stream."
41
41
| EventsOnly ->"Exclude Unfolds from processing. Default: Unfolds are read, parsed and processed"
42
42
| Categorize ->"Gather handler latency stats by category"
43
-
| MaxItems _->"Limits RU consumption when reading; impacts checkpointing granularity by adjusting the batch size being loaded from the feed. Default (Sync): 9999. Default: Unlimited"
43
+
| MaxItems _->"Limits RU consumption when reading; impacts checkpointing granularity by adjusting the batch size being loaded from the feed. Default (Sync): 9999. Default: 100 (CosmosClient default)"
44
44
45
45
| ExcSys ->"Exclude System streams. Default: Include Index Streams, identified by a $ prefix."
46
46
| IncCat _->"Allow Stream Category. Multiple values are combined with OR. Default: include all, subject to Category Deny and Stream Deny rules."
@@ -61,7 +61,7 @@ and Arguments(c, p: ParseResults<Parameters>) =
member valIncludeUnfolds=not(p.Contains EventsOnly)
64
+
member valEventsOnly=p.Contains EventsOnly
65
65
member valCommand=
66
66
match p.GetSubCommand()with
67
67
| Kafka a -> KafkaArguments(c, a)|> SubCommand.Kafka
@@ -122,7 +122,7 @@ and [<NoEquality; NoComparison; RequireSubcommand>] CosmosParameters =
122
122
| Container _->"specify a container name for store."
123
123
| LeaseContainerId _->"store leases in Sync target DB (default: use `-aux` adjacent to the Source Container). Enables the Source to be read via a ReadOnly connection string."
124
124
| Timeout _->"specify operation timeout in seconds. Default: 5."
| RetriesWaitTime _->"specify max wait-time for retry when being throttled by Cosmos in seconds. Default: 5."
127
127
| MaxKiB _->"specify maximum size in KiB to pass to the Sync stored proc (reduce if Malformed Streams due to 413 RequestTooLarge responses). Default: 128."
128
128
| From _->"Specify Source."
@@ -133,9 +133,9 @@ and CosmosArguments(c: Args.Configuration, p: ParseResults<CosmosParameters>) =
0 commit comments