summaryrefslogtreecommitdiff
path: root/shell_scripts
diff options
context:
space:
mode:
Diffstat (limited to 'shell_scripts')
-rw-r--r--shell_scripts/readme.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/shell_scripts/readme.md b/shell_scripts/readme.md
new file mode 100644
index 00000000..2a0842b1
--- /dev/null
+++ b/shell_scripts/readme.md
@@ -0,0 +1,13 @@
+You need to run this each time you change `schema.proto`
+```bash
+cd resources/experiments/
+protoc --java_out=/home/matt/git/opendc/opendc-common/src/main/java/ schema.proto
+curl -X DELETE http://localhost:8081/subjects/postgres-topic-value
+```
+Confluent JDBC sink and source (includes Postgres connector) files:
+https://www.confluent.io/hub/confluentinc/kafka-connect-jdbc
+
+Be aware the project will only work with this OpenDC as there are hidden Maven dependencies.
+Kafka topic should be named `postgres_topic`.
+
+Confluent local (see https://www.confluent.io/installation/):