command
module
Version:
v0.0.0-...-d6b84b3
Opens a new window with list of versions in this module.
Published: Jan 11, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 18
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Eventrouter Kafka Producer
EventRouter consumer microservice dispatching cloudevents to Kafka.
It expose two endpoints:
/healthz
- health check endpoint (GET)
/handle
- eventrouter hook endpoint (POST)
How to install
$ helm repo add krateo https://charts.krateo.io
$ helm repo update krateo
$ helm install eventrouter-kafka-producer krateo/eventrouter-kafka-producer --namespace krateo-system --create-namespace
Env Vars
Name |
Description |
Default Value |
EVENTROUTER_KAFKA_PRODUCER_PORT |
port to listen on |
8080 |
EVENTROUTER_KAFKA_PRODUCER_DEBUG |
dump verbose output |
false |
EVENTROUTER_KAFKA_PRODUCER_BROKERS |
comma separated list of kafka brokers |
127.0.0.1:9092 |
EVENTROUTER_KAFKA_PRODUCER_TOPIC |
send events to this Kafka topic |
test-topic |
Registering with the EventRouter
To register this service with the eventrouter apply a manifest like this:
cat <<EOF | kubectl apply -f -
apiVersion: eventrouter.krateo.io/v1alpha1
kind: Registration
metadata:
name: kafka-producer-registration
spec:
serviceName: Kafka Producer
# Your custom hook service endpoint
endpoint: https://this.service.addr:8080/handle
EOF
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
internal
|
|
|
|
|
|
|
|
helpers/uuid
Package isaac64 implements the ISAAC64 fast cryptographic random number generator.
|
Package isaac64 implements the ISAAC64 fast cryptographic random number generator. |
|
|
|
|
Click to show internal directories.
Click to hide internal directories.