HTTP
Kubemq HTTP source provides a REST Api endpoints for processing source REST Api request.

Prerequisites

The following are required to run events source connector:
  • kubemq cluster
  • kubemq-sources deployment

Configuration

HTTP source connector configuration properties:
Properties Key
Required
Description
Example
methods
yes
List for REST API methods to process
"GET,POST,PUT,PATCH,DELETE"
path
yes
set http server endpoint path
"/path"
Example:
1
bindings:
2
- name: http-post-kubemq-event
3
source:
4
kind: http
5
name: http-post
6
properties:
7
"methods": "post"
8
"path": "/post"
9
target:
10
kind: kubemq.events
11
name: target-kubemq-events
12
properties:
13
address: "kubemq-cluster:50000"
14
client_id: "kubemq-http-connector"
15
auth_token: ""
16
channel: "events.post"
17
properties:
18
log_level: "info"
Copied!
Last modified 11mo ago