SQS
Kubemq aws-sqs source connector allows services using kubemq server to access aws sqs service.

Prerequisites

The following required to run the aws-sqs source connector:
  • kubemq cluster
  • aws account with sqs active service
  • kubemq-source deployment

Configuration

sqs source connector configuration properties:
Properties Key
Required
Description
Example
aws_key
yes
aws key
aws key supplied by aws
aws_secret_key
yes
aws secret key
aws secret key supplied by aws
region
yes
region
aws region
retries
no
number of retries on send
1 (default 0)
token
no
aws token ("default" empty string
"my token"
queue
yes
queue name
"my_queue_name"
max_number_of_messages
no
max messages receive per call
"1" (default 1)
visibility_timeout
no
message visibility timeout (milliseconds)
"1" (default 0)
pullDelay
no
wait time between calls (milliseconds)
"1" (default 5)
Example:
1
bindings:
2
- name: kubemq-query-aws-sqs
3
source:
4
kind: query
5
name: kubemq-query
6
properties:
7
address: "kubemq-cluster:50000"
8
client_id: "kubemq-query-activemq-sqs"
9
auth_token: ""
10
channel: "query.aws.sqs"
11
group: ""
12
auto_reconnect: "true"
13
reconnect_interval_seconds: "1"
14
max_reconnects: "0"
15
target:
16
kind: aws.sqs
17
name: aws-sqs
18
properties:
19
aws_key: "id"
20
aws_secret_key: 'json'
21
region: "instance"
22
queue : "my_queue"
Copied!
Last modified 11mo ago