hello-world

command module
v0.0.0-...-e4391c6 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

README

Run a hello world on Kafka with go

The purpose of this tutorial is to execute a simple command on the apache kafka cluster.

Requirements

You need first to have a apache kafka cluster deployed. More information here

Certificates

You need to create a directory that will be mounted on the docker container. It must contains the following

Build and run

Once you have created your user, and set up your IP restrictions you can run the following:

read URI
## PATH_TO_CERTIFICATES must be a directory containing all the 3 certificates listed previously
read PATH_TO_CERTIFICATES
docker build -t kafka-go-hello-world .
docker run -v $PATH_TO_CERTIFICATES:/certificates kafka-go-hello-world $URI

Dependencies

This example is using the following external dependencies:

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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