Skip to content

Commit 09d04af

Browse files
authored
Reduce data generation frequency to avoid throttling from Bedrock (aws-samples#61)
1 parent 20df78c commit 09d04af

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

python/PythonDependencies/main.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ def main():
171171
)
172172
WITH (
173173
'connector' = 'datagen',
174+
'rows-per-second' = '1',
174175
'fields.a_number.min' = '0',
175176
'fields.a_number.max' = '100'
176177
)
@@ -203,7 +204,7 @@ def main():
203204
'stream' = '{output_stream_name}',
204205
'aws.region' = '{output_stream_region}',
205206
'sink.partitioner-field-delimiter' = ';',
206-
'sink.batch.max-size' = '100',
207+
'sink.batch.max-size' = '5',
207208
'format' = 'json',
208209
'json.timestamp-format.standard' = 'ISO-8601'
209210
)

0 commit comments

Comments
 (0)