forked from polyzos/pulsar-flink-stateful-streams
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.sh
executable file
·15 lines (11 loc) · 1.05 KB
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
docker exec -it pulsar bin/pulsar-admin topics create-partitioned-topic -p 1 persistent://public/default/orders
docker exec -it pulsar bin/pulsar-admin topics create-partitioned-topic -p 1 persistent://public/default/users
docker exec -it pulsar bin/pulsar-admin topics create-partitioned-topic -p 1 persistent://public/default/items
#docker exec -it pulsar bin/pulsar-admin topics create persistent://public/default/orders
#docker exec -it pulsar bin/pulsar-admin topics create persistent://public/default/users
#docker exec -it pulsar bin/pulsar-admin topics create persistent://public/default/items
docker exec -it pulsar bin/pulsar-admin topics list public/default
docker exec -it pulsar bin/pulsar-admin topics set-retention -s -1 -t -1 persistent://public/default/users
docker exec -it pulsar bin/pulsar-admin topics set-retention -s -1 -t -1 persistent://public/default/items
docker exec -it pulsar bin/pulsar-admin topics get-retention persistent://public/default/users
docker exec -it pulsar bin/pulsar-admin topics get-retention persistent://public/default/items