blob: 429af1d7786351612850c5b85dfdba7f691c4294 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
### Dependencies
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/):
PostgreSQL (see https://www.postgresql.org/)
Confluent JDBC sink and source (includes Postgres connector)
(see https://www.confluent.io/hub/confluentinc/kafka-connect-jdbc)
Be mindful to configure the right `plugin.path` in `etc/kafka/connect-standalone.properties`
Protobuf (see https://archlinux.org/packages/extra/x86_64/protobuf/)
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
```
|