samples/

directory
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2023 License: Apache-2.0

README

Getting Started

This document is aimed to provide an example about how to connect to the kafka and consume the message which is generated by the regional hub. In this way, you can get the message from ACM and push to your owned system.

  • consumer: create a separate consumer which can receive message from the regional hubs.

Prerequisites

These instructions assume:

Set environment variables.

export KUBECONFIG=</path/to/global_hub_cluster/kubeconfig>
export SECRET_NAMESPACE=<transport-secret-namespace> # default SECRET_NAMESPACE=open-cluster-management
export SECRET_NAME=<transport-secret-name> # default SECRET_NAME=multicluster-global-hub-transport

Producer and Consumer from different clients

Directories

Path Synopsis
cloudevent
kafka

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL