example-kafka-producer

command module
v0.0.0-...-9c78357 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2022 License: AGPL-3.0 Imports: 7 Imported by: 0

README

CICD Workflof

Example Kafka Producer

Example web service that produces kafka messages when the /produce endpoint is called. This application was created for educational purposes.

Local development
# starts the kafka cluster
docker-compose up
# starts the example web service
go run .
# test writing to kafka
curl --location --request POST 'http://127.0.0.1:8080/produce' --header 'Content-Type: text/plain' --data-raw '{"test":"yo"}'

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