Skip to main content

NNumbers Messaging

NNumbers Messaging brings together three managed application integration services, compatible with the AWS APIs you already know:

  • Queues, compatible with the Amazon SQS API;
  • Notifications, compatible with the Amazon SNS API;
  • Email, compatible with the Amazon SES (v2) API and with sending over SMTP.

You use the official AWS SDKs, the AWS CLI or any SMTP client, pointed at the NNumbers addresses. Administration (queues, topics, identities, credentials and usage) happens in the Messaging module of the NNumbers Console.

Overview​

ServiceWhat it is forHow the application talks to it
QueuesDecouple producers and consumers with messages stored until they are processedSQS API, signed with an access key
NotificationsPublish a message once and deliver it to several subscribers (queues, HTTP/HTTPS, email)SNS API, signed with an access key
EmailSend transactional email from your verified domainsSES v2 API (access key) or SMTP (SMTP credential)

The module's Overview page shows the organization summary: queues and approximate messages, messages in dead-letter queues, topics and failing subscriptions, email identities and the sending status.

The service is shared across organizations, with isolation per organization: each organization only sees and changes its own resources, and an access key never reaches resources of another organization.

How it works​

  1. In the Console you create the resources (queues, topics, email identities) and the credentials your applications will use.
  2. In the application you configure the AWS SDK with the service address (endpoint override), the br-se-1 region and the access key.
  3. Requests are signed with AWS Signature Version 4 (SigV4), just as on AWS. The service checks the signature and the key restrictions before running the operation.
  4. Usage of every operation is metered and shows up in Usage.

The integration addresses are in SDK examples. The Console page Documentation and examples shows the current configuration for your organization.

Concepts​

ConceptWhat it is
OrganizationThe owner of the resources. Everything you create belongs to the organization active in the Console.
Virtual accountA 12-digit number assigned to the organization. It appears in queue URLs and ARNs.
Regionbr-se-1. It is a virtual region, used in the SigV4 signature and in ARNs.
ARNAn identifier in the AWS format, such as arn:nnumbers:sqs:br-se-1:123456789012:orders. It works with AWS tooling, but it is not an AWS resource.
Queue URLhttps://nqs.msg.nnumbers.com.br/123456789012/orders, that is, the Queues address, the virtual account and the queue name.
Access keyAn ID and secret key pair the SDKs use to sign requests. See Access credentials.
SMTP credentialA username and password to send email over SMTP, independent of the access keys.

Roles​

RoleWhat it can do
ViewerSee the overview, queues, topics, subscriptions, email, usage and integration addresses.
EditorEverything a viewer can, plus create, configure and delete queues, topics, subscriptions, identities, templates, configuration sets and suppressions, and send test messages.
AdminEverything an editor can, plus create and revoke access keys and SMTP credentials.

Every administrative action taken in the Console is recorded in the organization's audit trail.

Limits​

ItemLimit
Active queues per organization1,000
Queue message size1 KiB to 1 MiB (default 1 MiB)
Test message from the Consoleup to 256 KiB
Tags per queue50
Subscription filter policyup to 256 KiB
Access keys per organization100
SMTP credentials per organization100
Email in the sandboxverified recipients only, 200 recipients per 24 h and 1 per second
Sending events queryperiod of up to 31 days
Usage querywindow of up to 93 days (up to 7 days by hour)

What is not supported​

  • In Notifications: SMS, mobile push notifications, delivery to Lambda functions and to Firehose.
  • In Queues: resource-based access policies (AddPermission, the Policy attribute) and KMS-managed encryption.
  • The Console does not consume messages: receiving is always done by your application, through the API.