Skip to content

Latest commit

 

History

History

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Examples

Examples of using go-kit-kafka with various Apache Kafka client libraries

Implementations

Reference

Services

  • producer - a service that provides an endpoint for generating and producing events to the specified topic in Apache Kafka

  • consumer - the service that able to consume events from kafka topic, store them the in inmemory storage and provide an endpoint to list all consumed events

Usage

Docker

Bootstrap full project using docker compose:

docker compose -f <example>/compose.yml up

To produce an event send the following request:

curl -X GET http://localhost:8081/events

To view all events send the following request:

curl -X GET http://localhost:8080/events