-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreset.sh
executable file
·51 lines (41 loc) · 861 Bytes
/
reset.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/bin/bash
. ./.commands
#Set this in KSQL
#SET 'auto.offset.reset' = 'earliest';
#SET 'ksql.sink.partitions' = '8';
#
#
#
kafka-streams-application-reset --bootstrap-servers localhost:9092 --application-id demo-streams
kcg-reset demo-streams
kcg-reset demo-map
#
#
#
#kt-delete red
#kt-delete blue
kt-delete closest
kt-delete distance
kt-delete red.nearest.airport
kt-delete red.nearest.airport.count
#
#
#
kt-create red
kt-create blue
kt-create closest
kt-create distance
kt-create red.nearest.airport
kt-create red.nearest.airport.count
kt-delete KSQL_RED_NEAREST_AIRPORT
kt-create KSQL_RED_NEAREST_AIRPORT
kt-delete KSQL_RED_NEAREST_AIRPORT_WINDOW_COUNT
kt-create KSQL_RED_NEAREST_AIRPORT_WINDOW_COUNT
kt-delete KSQL_RED_NEAREST_AIRPORT_COUNT
kt-create KSQL_RED_NEAREST_AIRPORT_COUNT
kt-delete KSQL_CLOSEST
kt-create KSQL_CLOSEST
#
#
#
kt --list