Command
Kubemq Command source provides rpc command subscriber for processing source commands.

Prerequisites

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

Configuration

Command 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
group
no
set subscriber group
auto_reconnect
no
set auto reconnect on lost connection
"false", "true"
reconnect_interval_seconds
no
set reconnection seconds
"5"
max_reconnects
no
set how many time to reconnect
"0"
Example:
1
bindings:
2
- name: kubemq-command-elastic-search
3
source:
4
kind: kubemq.command
5
name: kubemq-command
6
properties:
7
address: "kubemq-cluster:50000"
8
client_id: "kubemq-command-elastic-search-connector"
9
auth_token: ""
10
channel: "command.elastic-search"
11
group: ""
12
auto_reconnect: "true"
13
reconnect_interval_seconds: "1"
14
max_reconnects: "0"
15
target:
16
kind: stores.elastic-search
17
name: target-elastic-search
18
properties:
19
urls: "http://localhost:9200"
20
username: "admin"
21
password: "password"
22
sniff: "false"
Copied!
Last modified 11mo ago