Skip to content

gabrielqueiroz/redis-sink-connect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redis Sink Connect

This project is a PoC (Proof of Concept). The main idea is insert data into Redis from a Kafka topic, using the Landoop Redis Sink Connect.

This project uses Docker, and create a Docker image configured with kafka-connect-redis-1.0.0.jar. You can check the Dockerfile here.

Setting up this project

This PoC uses docker-compose to set up all necessary environment to proof this concept.

You can just build and run everything running docker-compose up command.

What does the docker-compose will start?

  • Redis
  • Zookeeper
  • Kafka
  • Schema-registry
  • Kafka Connect

How do I use this PoC?

To run this PoC, you can just run the script ./poc.sh. What does the poc.sh do?

You can them access Redis, using redis-cli for example, to check the keys generate from the topic:

  • redis-cli -> get test:gabriel