sirix icon indicating copy to clipboard operation
sirix copied to clipboard

Issue #537 (alternative kafka approach)

Open FayKounara opened this issue 8 months ago • 2 comments

As discussed under the issue https://github.com/sirixdb/sirix/issues/537 me and @ElenaSkep would like to propose an enhancement and use apache kafka as an alternative for backend storage.

What it does: Kafka listens to the changes made in a db/resource and stores them in a topic which takes the name of the db.Doing that you can see from the topic of your db the history of all the changes.

Prerequisite:Please download the zip file of apache kafka and run it in the bash with these 2 commands $ bin/zookeeper-server-start.sh config/zookeeper.properties and this $ bin/kafka-server-start.sh config/server.properties.

After that whenever you change something in your db you can see the changes by doing this $ bin/kafka-console-consumer.sh --topic your-db-name --from-beginning --bootstrap-server localhost:9092

FayKounara avatar Jun 12 '24 12:06 FayKounara