Queue
Kubemq Queue source provides a queue subscriber for processing source queues.

Prerequisites

The following are required to run queue source connector:
  • kubemq cluster
  • kubemq-targets deployment

Configuration

Queue source connector configuration properties:
Properties Key
Required
Description
Example
address
yes
kubemq server address (gRPC interface)
kubemq-cluster:50000
client_id
no
set client id
"client_id"
auth_token
no
set authentication token
jwt token
channel
yes
set channel to subscribe
response_channel
no
set send target response to channel
"response.channel"
batch_size
yes
set how many messages to pull from queue
"1"
wait_timeout
yes
set how long to wait for messages to arrive in seconds
"60"
Example:
1
bindings:
2
- name: kubemq-queue-elastic-search
3
source:
4
kind: queue
5
name: kubemq-queue
6
properties:
7
address: "kubemq-cluster:50000"
8
client_id: "kubemq-queue-elastic-search-connector"
9
auth_token: ""
10
channel: "queue.elastic-search"
11
response_channel: "queue.response.elastic"
12
batch_size: "1"
13
wait_timeout: "60"
14
target:
15
kind: stores.elastic-search
16
name: target-elastic-search
17
properties:
18
urls: "http://localhost:9200"
19
username: "admin"
20
password: "password"
21
sniff: "false"
Copied!
Last modified 11mo ago