An open API service indexing awesome lists of open source software.

https://github.com/jdockerty/kafka-learning

Learning Kafka!
https://github.com/jdockerty/kafka-learning

Last synced: about 1 year ago
JSON representation

Learning Kafka!

Awesome Lists containing this project

README

          

# Kafka Learning

The `manifests` folder can be used to deploy the [`strimzi`](https://strimzi.io/) Kafka operator into [`k3d`](https://k3d.io/), by running `make init`.

Once the operator is deployed, you can produce some fake data into the pre-created `test-topic` by running

# Run these in separate terminals as they are blocking calls
make run-producer-local
make run-consumer-local

This assumes the use of Strimzi, if using Confluent Cloud it requires running the `go` binary directly, as an API and secret key must be passed for authentication

go run cmd/producer/producer.go --topic test-topic --brokers "" --api-key "" --secret-key ""
go run cmd/consumer/consumer.go --topic test-topic --brokers "" --api_key "" --secret-key ""