Skip to content

Commit

Permalink
add-eb-global-support
Browse files Browse the repository at this point in the history
  • Loading branch information
John Gilbert committed Feb 2, 2025
1 parent 0bad966 commit 57e0067
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aws-lambda-stream",
"version": "1.0.30",
"version": "1.0.31",
"description": "Create stream processors with AWS Lambda functions.",
"keywords": [
"aws",
Expand Down
2 changes: 2 additions & 0 deletions src/sinks/eventbridge.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const publishToEventBridge = ({ // eslint-disable-line import/prefer-defa
maxPublishRequestSize = Number(process.env.PUBLISH_MAX_REQ_SIZE) || Number(process.env.MAX_REQ_SIZE) || 256 * 1024,
batchSize = Number(process.env.PUBLISH_BATCH_SIZE) || Number(process.env.BATCH_SIZE) || 10,
parallel = Number(process.env.PUBLISH_PARALLEL) || Number(process.env.PARALLEL) || 8,
endpointId = process.env.BUS_ENDPOINT_ID,
handleErrors = true,
retryConfig,
step = 'publish',
Expand All @@ -47,6 +48,7 @@ export const publishToEventBridge = ({ // eslint-disable-line import/prefer-defa
Entries: batchUow.batch
.filter((uow) => uow[publishRequestEntryField])
.map((uow) => uow[publishRequestEntryField]),
EndpointId: endpointId || undefined,
},
});

Expand Down

0 comments on commit 57e0067

Please sign in to comment.