-
Install
sqlx
CLI:
Ensure you have thesqlx
CLI installed before proceeding. You can install it using the following command:cargo install sqlx-cli --no-default-features --features rustls,postgres
-
Run the initialization script:
This script will start the Docker containers, including PostgreSQL, Kafka, and other necessary services../startup.sh
-
Perform Database Operations:
Insert, update, or delete records in the database as needed.psql -h localhost -p 5433 -U postgres -d replic8 # you can connect to the db using psql
INSERT INTO subscriptions (id, email, name, subscribed_at) \ VALUES ('e3b0c442-98fc-462d-83e0-5c87a849f2e3', 'john.doe@example.com', 'John Doe', '2024-08-04 12:34:56'); # example
-
View Kafka Messages:
Open Kafka UI in your browser to view the topics and messages. The UI is available at:http://localhost:8080
-
Notifications
You must be signed in to change notification settings - Fork 0
nickvgn/replic8
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Playground for PostgreSQL logical decoding using wal2json/decoderbuf in a rust application / Debezium
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published