Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleContents

Table of Contents

<Description>Amazon Simple Notification Service (SNS) is a highly available, durable, secure, fully managed Pub/Sub messaging service that enables you to decouple microservices, distributed systems, and serverless applications. Additionally, SNS can be used to invoke notifications to end users using mobile push, SMS, and email.

Component Configuration

The following properties can be configured in the Configuration panel as shown below.

Image Modified
Figure 1: Component Configuration Properties

...

Click the AWS Connection Details ellipses Image Removed button ellipses button to configure the properties related to AWS connection.

...

Specify whether to publish or subscribe to the topic.

Topic ARN

<>

The Amazon Resource Name (ARN) assigned to the created topic.

Info
iconfalse
titleExample

arn:aws:sns:ap-south-1:617281890357:topic1

Create New Topic

<>

Enable SSE

<>Enable to create a new topic.

Topic Name

Specify the Topic name.

Enable SSE

Enables server-side encryption (SSE) of topics for additional protection of sensitive data.

Expert Properties

Enable the Expert Properties view to configure these properties.  

Warning

Expert properties are meant for advanced users. Use with caution!

Image Modified

Figure 3: AmazonSNS CPS with the Expert Properties enabled and highlighted 

...

  • This needs to be used only in such circumstances.
  • If sequential processing is not required, please use sessions on the input port.

Click the Threadpool Configuration ellipses button to configure the Threadpool Configuration properties.


Figure 334: Threadpool Configuration properties

Enable Thread Pool

Enable this option to configure the properties that appear as below.

Pool Size

The number of requests to be processed in parallel within the component. Default value is '1'.

Batch Eviction Interval (in ms)

Time in milliseconds after which the threads are evicted in case of inactivity. New threads are created in place of evicted threads when new requests are received. Default value is '1000'.

...

Configure the component with various operations as described in the component description and connect Feeder and Display components to send input and receive output respectively.

Scenario 1 - Subscriber

Configure the AmazonSNS component with Mode as "Subscribe", provide properties such as Topic ARN, Protocol and Endpoint to connect to the endpoint (if these do not exist already, enable Crete New Topic) as explained in the Component Configuration section.

Image Added
Figure : Event Process to demonstrate functions of AmazonSNS

Points to Note

<>

 5: CPS configuration for Subscriber

Connect Feeder and Display components to send input and receive output respectively.

Image Added
Figure 6: Event process for Subscriber

Input

Image Added
Figure 7: Feeder window to send input message for Subscriber

Output

Image Added
Figure 8: Display window receiving the confirmation message

Scenario 2 - Publisher

Configure the AmazonSNS component with Mode as "Publish" and properties such as Create New Topic and Topic name (if there is no existing endpoint properties) as explained in the Component Configuration section.

Image Added
Figure 9: CPS configuration for Publisher

Connect Feeder and Display components to send input and receive output respectively.

Image Added
Figure 10: Event process for Publisher

Input

Image Added
Figure 11: Feeder window to send input message for Publisher

Output

Image Added
Figure 12: Display window receiving the confirmation message

Adaptavist ThemeBuilder EngineAtlassian Confluence