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
{{ message }}
This repository was archived by the owner on Oct 1, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: pipelines/event-replay-pipeline/README.md
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
-
## SNS Fork Message Replay
1
+
## SNS Fork: Event Replay Pipeline
2
2
3
-
This Serverless application provides an SNS Fork processing pipeline that saves topic messages to a replay buffer SQS queue. In a disaster recovery scenario, messages from up to 14 days ago can be replayed back to another processing pipeline's SQS queue.
3
+
This Serverless application provides an SNS Fork processing pipeline that saves SNS topic events to a replay buffer SQS queue. In a disaster recovery scenario, events from up to 14 days ago can be replayed back to another processing pipeline's SQS queue.
1. An Amazon SQS queue is subscribed to the given SNS Topic ARN with an optional subscription filter policy.
10
10
1. An AWS Lambda function is mapped to the SQS queue, but the event source is initially disabled.
11
-
1. In a disaster scenario, an operator manually enables the Lambda event source mapping and the AWS Lambda function forwards the messages from the replay buffer to the given destination SQS queue.
11
+
1. In a disaster scenario, an operator manually enables the Lambda event source mapping and the AWS Lambda function forwards the events from the replay buffer to the given destination SQS queue.
12
12
13
13
## Installation
14
14
@@ -22,28 +22,28 @@ This app is meant to be used as part of a larger application, so the recommended
22
22
ApplicationId: TODO
23
23
SemanticVersion: 1.0.0
24
24
Parameters:
25
-
# SNS Topic ARN whose messages should be backed up to S3.
26
-
SNSTopicArn: !Ref MessageTopic
27
-
# Name of destination SQS Queue where replay messages should be sent in a disaster recovery scenario. The app assumes the queue
25
+
# SNS Topic ARN whose events should be backed up to S3.
26
+
SNSTopicArn: !Ref EventTopic
27
+
# Name of destination SQS Queue where replay events should be sent in a disaster recovery scenario. The app assumes the queue
# Retention period in seconds for the replay buffer SQS queue. This controls how long messages will be stored in the replay buffer.
30
+
# Retention period in seconds for the replay buffer SQS queue. This controls how long events will be stored in the replay buffer.
31
31
#ReplayBufferRetentionPeriodInSeconds: 1209600 # Uncomment to override default value
32
32
```
33
33
34
-
Alternatively, you can deploy the application into your account manually via the [sns-fork-message-replay SAR page](TODO).
34
+
Alternatively, you can deploy the application into your account manually via the [sns-fork-event-replay-pipeline SAR page](TODO).
35
35
36
36
### Parameters
37
37
38
-
1.`SNSTopicArn` (required) - SNS Topic ARN whose messages should be backuped up to S3.
39
-
1.`DestinationSQSQueueName` (required) - Name of destination SQS Queue where replay messages should be sent in a disaster recovery scenario. The app assumes the queue is in the same account and region as this app.
40
-
1.`SubscriptionFilterPolicy` (optional) - SNS Topic Subscription FilterPolicy as a JSON string. This optional parameter allows you to configure message filtering for messages processed by this app. See [the documentation](https://docs.aws.amazon.com/sns/latest/dg/message-filtering.html) for details. The default behavior is to use no subscription filter policy so the app will backup all messages sent to the SNS topic.
41
-
1.`ReplayBufferRetentionPeriodInSeconds` (optional) - Retention period in seconds for the replay buffer SQS queue. This controls how long messages will be stored in the replay buffer. If not specified, the default value of `1209600` (14 days) is used.
38
+
1.`SNSTopicArn` (required) - SNS Topic ARN whose events should be backed up to S3.
39
+
1.`DestinationSQSQueueName` (required) - Name of destination SQS Queue where replay events should be sent in a disaster recovery scenario. The app assumes the queue is in the same account and region as this app.
40
+
1.`SubscriptionFilterPolicy` (optional) - SNS Topic Subscription FilterPolicy as a JSON string. This optional parameter allows you to configure message filtering for events processed by this app. See [the documentation](https://docs.aws.amazon.com/sns/latest/dg/message-filtering.html) for details. The default behavior is to use no subscription filter policy so the app will backup all messages sent to the SNS topic.
41
+
1.`ReplayBufferRetentionPeriodInSeconds` (optional) - Retention period in seconds for the replay buffer SQS queue. This controls how long events will be stored in the replay buffer. If not specified, the default value of `1209600` (14 days) is used.
42
42
43
43
### Outputs
44
44
45
-
1.`ReplayMessagesFunctionName` - Replay messages Lambda function name.
46
-
1.`ReplayMessagesFunctionArn` - Replay messages Lambda function ARN.
45
+
1.`ReplayMessagesFunctionName` - Replay events Lambda function name.
46
+
1.`ReplayMessagesFunctionArn` - Replay events Lambda function ARN.
47
47
1.`ReplayMessagesEventSourceMappingId` - Id of event source mapping of Replay buffer SQS queue to ReplayMessages Lambda function.
Copy file name to clipboardExpand all lines: pipelines/event-search-analytics-pipeline/README.md
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
-
## SNS ForkSearch and Analytics
1
+
## SNS Fork: Event Search and Analytics Pipeline
2
2
3
-
This Serverless application provides an SNS Fork processing pipeline that saves topic messages to an Amazon Elasticsearch Service cluster for searching and analytics.
3
+
This Serverless application provides an SNS Fork processing pipeline that saves topic events to an Amazon Elasticsearch Service cluster for searching and analytics.
4
4
5
5
## Architecture
6
6
7
7

8
8
9
9
1. An Amazon SQS queue is subscribed to the given SNS Topic ARN with an optional subscription filter policy.
10
-
1. An AWS Lambda function reads messages from the SQS queue and publishes them to an Amazon Kinesis Data Firehose Delivery Stream, which saves them to the given Amazon Elasticsearch Service Domain.
11
-
1. If for some reason Kinesis Data Firehose is not able to write messages to the Amazon Elasticsearch Service Domain, the failed messages are written to a backup Amazon S3 bucket.
10
+
1. An AWS Lambda function reads events from the SQS queue and publishes them to an Amazon Kinesis Data Firehose Delivery Stream, which saves them to the given Amazon Elasticsearch Service Domain.
11
+
1. If for some reason Kinesis Data Firehose is not able to write events to the Amazon Elasticsearch Service Domain, the failed events are written to a backup Amazon S3 bucket.
12
12
13
13
**Note:** The app does not create an Amazon Elasticsearch Service cluster as part of the app since Amazon ES Domains have many configuration options and users commonly want to use a single cluster across many pipelines to save cost and perform more advanced queries.
14
14
@@ -24,8 +24,8 @@ This app is meant to be used as part of a larger application, so the recommended
24
24
ApplicationId: TODO
25
25
SemanticVersion: 1.0.0
26
26
Parameters:
27
-
# SNS Topic ARN whose messages should be backed up to S3.
28
-
SNSTopicArn: !Ref MessageTopic
27
+
# SNS Topic ARN whose events should be backed up to S3.
@@ -34,10 +34,10 @@ This app is meant to be used as part of a larger application, so the recommended
34
34
ElasticsearchTypeName: PROVIDE-VALUE
35
35
# The frequency of Elasticsearch index rotation.
36
36
#ElasticsearchIndexRotationPeriod: NoRotation # Uncomment to override default value
37
-
# Number of seconds to retry if messages cannot be written to Elasticsearch index.
37
+
# Number of seconds to retry if events cannot be written to Elasticsearch index.
38
38
#RetryDurationInSeconds: 300 # Uncomment to override default value
39
39
# SNS Topic Subscription FilterPolicy as a JSON string. This optional parameter allows you to configure message filtering
40
-
# for messages processed by this app. See https://docs.aws.amazon.com/sns/latest/dg/message-filtering.html for details.
40
+
# for events processed by this app. See https://docs.aws.amazon.com/sns/latest/dg/message-filtering.html for details.
41
41
#SubscriptionFilterPolicy: '' # Uncomment to override default value
42
42
# Prefix used for S3 backup files
43
43
#BackupPrefix: backup/ # Uncomment to override default value
@@ -49,20 +49,20 @@ Alternatively, you can deploy the application into your account manually via the
49
49
50
50
### Parameters
51
51
52
-
1.`SNSTopicArn` (required) - SNS Topic ARN whose messages should be backuped up to S3.
52
+
1.`SNSTopicArn` (required) - SNS Topic ARN whose events should be backed up to S3.
53
53
1.`ElasticsearchDomainArn` (required) - ARN of the Elasticsearch Domain to write to.
54
54
1.`ElasticsearchIndexName` (required) - Elasticsearch index name to write to.
55
55
1.`ElasticsearchTypeName` (required) - The Elasticsearch type name that Amazon ES adds to documents when indexing data.
56
-
1.`SubscriptionFilterPolicy` (optional) - SNS Topic Subscription FilterPolicy as a JSON string. This optional parameter allows you to configure message filtering for messages processed by this app. See [the documentation](https://docs.aws.amazon.com/sns/latest/dg/message-filtering.html) for details. The default behavior is to use no subscription filter policy so the app will backup all messages sent to the SNS topic.
56
+
1.`SubscriptionFilterPolicy` (optional) - SNS Topic Subscription FilterPolicy as a JSON string. This optional parameter allows you to configure message filtering for events processed by this app. See [the documentation](https://docs.aws.amazon.com/sns/latest/dg/message-filtering.html) for details. The default behavior is to use no subscription filter policy so the app will backup all events sent to the SNS topic.
57
57
1.`ElasticsearchIndexRotationPeriod` (optional) - The frequency of Elasticsearch index rotation. See [the documentation](https://docs.aws.amazon.com/firehose/latest/dev/basic-deliver.html#es-index-rotation) for details. If not specified, the default value of `NoRotation` is used.
58
-
1.`RetryDurationInSeconds` (optional) - Number of seconds to retry if messages cannot be written to Elasticsearch index. Messages that fail to get written to ElasticSearch are written to an S3 backup bucket created by the app. See [the documentation](https://docs.aws.amazon.com/firehose/latest/APIReference/API_ElasticsearchRetryOptions.html) for details. If not specified, the default value of 300 seconds (5 minutes) is used.
59
-
1.`BackupPrefix` (optional) - A prefix that Kinesis Data Firehose adds to the files that it delivers to the Amazon S3 bucket (only used for messages that cannot be delivered to the Elasticsearch cluster). If not specified, the default value of `backup/` is used.
60
-
1.`BackupCompressionFormat` (optional) - The type of compression that Kinesis Data Firehose uses to compress the data that it delivers to the Amazon S3 bucket (only used for messages that cannot be delivered to the Elasticsearch cluster). For valid values, see the `CompressionFormat` content for the [S3DestinationConfiguration](https://docs.aws.amazon.com/firehose/latest/APIReference/API_S3DestinationConfiguration.html) data type in the *Amazon Kinesis Data Firehose API Reference*.
58
+
1.`RetryDurationInSeconds` (optional) - Number of seconds to retry if events cannot be written to Elasticsearch index. Events that fail to get written to ElasticSearch are written to an S3 backup bucket created by the app. See [the documentation](https://docs.aws.amazon.com/firehose/latest/APIReference/API_ElasticsearchRetryOptions.html) for details. If not specified, the default value of 300 seconds (5 minutes) is used.
59
+
1.`BackupPrefix` (optional) - A prefix that Kinesis Data Firehose adds to the files that it delivers to the Amazon S3 bucket (only used for events that cannot be delivered to the Elasticsearch cluster). If not specified, the default value of `backup/` is used.
60
+
1.`BackupCompressionFormat` (optional) - The type of compression that Kinesis Data Firehose uses to compress the data that it delivers to the Amazon S3 bucket (only used for events that cannot be delivered to the Elasticsearch cluster). For valid values, see the `CompressionFormat` content for the [S3DestinationConfiguration](https://docs.aws.amazon.com/firehose/latest/APIReference/API_S3DestinationConfiguration.html) data type in the *Amazon Kinesis Data Firehose API Reference*.
Copy file name to clipboardExpand all lines: pipelines/event-store-backup-pipeline/README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,13 @@
1
-
## SNS Fork Storage and Backup
1
+
## SNS Fork: Storage and Backup Pipeline
2
2
3
-
This Serverless application provides an SNS Fork processing pipeline that saves topic messages to an Amazon S3 bucket for use as backups or other purposes, e.g., to query with Amazon Athena.
3
+
This Serverless application provides an SNS Fork processing pipeline that saves topic events to an Amazon S3 bucket for use as backups or other purposes, e.g., to query with Amazon Athena.
4
4
5
5
## Architecture
6
6
7
7

8
8
9
9
1. An Amazon SQS queue is subscribed to the given SNS Topic ARN with an optional subscription filter policy.
10
-
1. An AWS Lambda function reads messages from the SQS queue and publishes them to an Amazon Kinesis Data Firehose Delivery Stream, which saves them to an Amazon S3 bucket.
10
+
1. An AWS Lambda function reads events from the SQS queue and publishes them to an Amazon Kinesis Data Firehose Delivery Stream, which saves them to an Amazon S3 bucket.
11
11
12
12
## Installation
13
13
@@ -21,10 +21,10 @@ This app is meant to be used as part of a larger application, so the recommended
21
21
ApplicationId: TODO
22
22
SemanticVersion: 1.0.0
23
23
Parameters:
24
-
# SNS Topic ARN whose messages should be backed up to S3.
25
-
SNSTopicArn: !Ref MessageTopic
24
+
# SNS Topic ARN whose events should be backed up to S3.
25
+
SNSTopicArn: !Ref EventTopic
26
26
# SNS Topic Subscription FilterPolicy as a JSON string. This optional parameter allows you to configure message filtering
27
-
# for messages processed by this app. See https://docs.aws.amazon.com/sns/latest/dg/message-filtering.html for details.
27
+
# for events processed by this app. See https://docs.aws.amazon.com/sns/latest/dg/message-filtering.html for details.
28
28
#SubscriptionFilterPolicy: '' # Uncomment to override default value
29
29
# Prefix used for S3 backup files
30
30
#BackupPrefix: backup/ # Uncomment to override default value
@@ -36,8 +36,8 @@ Alternatively, you can deploy the application into your account manually via the
36
36
37
37
### Parameters
38
38
39
-
1.`SNSTopicArn` (required) - SNS Topic ARN whose messages should be backuped up to S3.
40
-
1.`SubscriptionFilterPolicy` (optional) - SNS Topic Subscription FilterPolicy as a JSON string. This optional parameter allows you to configure message filtering for messages processed by this app. See [the documentation](https://docs.aws.amazon.com/sns/latest/dg/message-filtering.html) for details. The default behavior is to use no subscription filter policy so the app will backup all messages sent to the SNS topic.
39
+
1.`SNSTopicArn` (required) - SNS Topic ARN whose events should be backed up to S3.
40
+
1.`SubscriptionFilterPolicy` (optional) - SNS Topic Subscription FilterPolicy as a JSON string. This optional parameter allows you to configure message filtering for events processed by this app. See [the documentation](https://docs.aws.amazon.com/sns/latest/dg/message-filtering.html) for details. The default behavior is to use no subscription filter policy so the app will backup all events sent to the SNS topic.
41
41
1.`BackupPrefix` (optional) - A prefix that Kinesis Data Firehose adds to the files that it delivers to the Amazon S3 bucket. If not specified, the default value of `backup/` is used.
42
42
1.`BackupCompressionFormat` (optional) - The type of compression that Kinesis Data Firehose uses to compress the data that it delivers to the Amazon S3 bucket. For valid values, see the `CompressionFormat` content for the [S3DestinationConfiguration](https://docs.aws.amazon.com/firehose/latest/APIReference/API_S3DestinationConfiguration.html) data type in the *Amazon Kinesis Data Firehose API Reference*.
0 commit comments