I am trying to setup the CDC streaming on dgraph for File mode as mentioned:
I am trying it on local using docker compose file. I have created a file named,
cdc inside of the same directory where the compose file is and running alpha with
--cdc "file=./cdc" flag. I am not able to see any events there after inserting data.
for reference below is my docker-compose file:
zero: image: dgraph/dgraph:v21.03.1 ports: - 5080:5080 - 6080:6080 restart: on-failure command: dgraph zero --my=zero:5080 volumes: - pcc-go-dbs:/dgraph alpha: image: dgraph/dgraph:v21.03.1 ports: - 8080:8080 - 9080:9080 restart: on-failure command: dgraph alpha --my=alpha:7080 --zero=zero:5080 --security whitelist=0.0.0.0/0 --cdc "file=./cdc" volumes: - pcc-go-dbs:/dgraph ratel: image: dgraph/ratel:latest ports: - 8000:8000 command: dgraph-ratel
please let me know what can i do to solve it.