Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gregfurman committed Dec 16, 2024
1 parent 77f24c9 commit d96673d
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions content/en/user-guide/aws/lambda/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,32 +168,36 @@ The following event sources are supported in LocalStack:
- [Simple Queue Service (SQS)](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html)
- [DynamoDB](https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html)
- [Kinesis](https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html)
- [Managed Streaming for Apache Kafka (MSK)](https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html)
- [Self-Managed Apache Kafka](https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html)
- [Managed Streaming for Apache Kafka (MSK)](https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html) ⭐️
- [Self-Managed Apache Kafka](https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html) ⭐️

### Coverage
### Behaviour Coverage

The coverage table below shows feature-level coverage for all supported event sources for the latest version of LocalStack.
The table below shows feature coverage for all supported event sources for the latest version of LocalStack.

Unlike [API operation coverage](https://docs.localstack.cloud/references/coverage/coverage_lambda/), this table illustrates the **functional and behavioural coverage** of LocalStack's Lambda Event Source Mapping implementation.

Where necessary, footnotes are used to provide additional context.

#### Legend
- ⭐️ Only Available in Pro
{{< callout >}}
Feature availability and coverage is categorized with the following system:
- ⭐️ Only Available in LocalStack Pro image
- 🟒 Fully Implemented
- 🟑 Partially Implemented
- 🟠 Not Implemented
- βž– Not Applicable (Not Supported by AWS)
{{</callout >}}

| | <th colspan="2" style="text-align:center;">SQS</th> <th colspan="2" style="text-align:center;">Stream</th> <th colspan="2" style="text-align:center;">Kafka ⭐️</th>
|--------------------------------|-------------------------------------------------|:--------:|:----:|:---------:|:----------:|:----------:|:------------:|
| **Parameter** | **Description** | **Standard** | **FIFO** | **Kinesis** | **DynamoDB** | **Amazon MSK** | **Self-Managed** |
| BatchSize | Batching events by count. | 🟑 [^1] | 🟒 | 🟒 | 🟒 | 🟒 | 🟒 |
| βž– | Batch when β‰₯ 6 MB limit. | 🟠 | 🟠 | 🟠 | 🟠 | 🟒 | 🟒 |
| *Not Configurable* | Batch when β‰₯ 6 MB limit. | 🟠 | 🟠 | 🟠 | 🟠 | 🟒 | 🟒 |
| MaximumBatchingWindowInSeconds | Batch by Time Window. | 🟠 | βž– | 🟠 | 🟠 | 🟒 | 🟒 |
| MaximumRetryAttempts | Discard after N retries. | βž– | βž– | 🟒 | 🟒 | βž– | βž– |
| MaximumRecordAgeInSeconds | Discard records older than time `t`. | βž– | βž– | 🟒 | 🟒 | βž– | βž– |
| Enabled | Enabling/Disabling. | 🟒 | 🟒 | 🟒 | 🟒 | 🟒 | 🟒 |
| FilterCriteria | Filter criteria object. | 🟒 | 🟒 | 🟒 | 🟒 | 🟒 | 🟒 |
| FilterCriteria | Filter pattern evaluating. [^2] [^3] | 🟒 | 🟒 | 🟒 | 🟒 | 🟒 | 🟒 |
| FunctionResponseTypes | Enabling ReportBatchItemFailures. | 🟒 | 🟒 | 🟒 | 🟒 | βž– | βž– |
| BisectBatchOnFunctionError | Bisect a batch on error and retry. | βž– | βž– | 🟠 | 🟠 | βž– | βž– |
| ScalingConfig | The scaling configuration for the event source. | 🟠 | 🟠 | βž– | βž– | βž– | βž– |
Expand All @@ -210,6 +214,8 @@ Where necessary, footnotes are used to provide additional context.
| Topics ⭐️ | Kafka topics to read from. | βž– | βž– | βž– | βž– | 🟒 | 🟒 |

[^1]: SQS event-source mappings are limited to sending batches of up to `10` records at a time when invoking Lambda functions.
[^2]: Read more at [Control which events Lambda sends to your function](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html)
[^3]: The available Metadata properties may not have full parity with AWS depending on the event source. Read more at [Understanding event filtering basics](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-basics).

Check failure on line 218 in content/en/user-guide/aws/lambda/index.md

View workflow job for this annotation

GitHub Actions / Markdown Lint

Max 1 sentence should be on a line

content/en/user-guide/aws/lambda/index.md:218:103 max-one-sentence-per-line Max 1 sentence should be on a line [Context: " source. Read "] https://github.com/aepfli/markdownlint-rule-max-one-sentence-per-line

Check failure on line 218 in content/en/user-guide/aws/lambda/index.md

View workflow job for this annotation

GitHub Actions / Markdown Lint

Max 1 sentence should be on a line

content/en/user-guide/aws/lambda/index.md:218:103 max-one-sentence-per-line Max 1 sentence should be on a line [Context: " source. Read "] https://github.com/aepfli/markdownlint-rule-max-one-sentence-per-line

Create a [GitHub issue](https://github.com/localstack/localstack/issues/new/choose) or reach out to [LocalStack support](https://docs.localstack.cloud/getting-started/help-and-support/) if you experience any challenges.

Expand Down

0 comments on commit d96673d

Please sign in to comment.