kafka-stream

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

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

Go to latest
Published: Jul 3, 2022 License: MIT Imports: 6 Imported by: 0

README

kafka-stream 🧙🏼‍♂️

Service responsible for streaming Kafka messages.

What it does?

This service reads all messages from the input topic and sends the messages to an SNS, using the lib Goka to stream messages.

Goka?

Goka is a compact and powerful distributed stream processing library for Apache Kafka, written in Go. Goka aims to reduce the complexity of building highly scalable and highly available microservices.

Goka extends the concept of Kafka consumer groups by linking a state table to them and persisting them in Kafka itself. Goka provides logical patterns and a pluggable architecture.

How to execute

  • Execute the command docker-compose up -d to init Zookeeper, Kafka and Kowl.
  • Execute the command make create_topics to create the input topic.
  • Set the environment vars (env.example).
  • Execute the command make run if you have godotenv installed or go run main.go to start the application.
  • Send a message to Input topic.

Kowl

  • Access the address http://localhost:8080/ to access Kowl, a UI for Kafka, it will help you.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
clients

Jump to

Keyboard shortcuts

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