File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 20
20
# limitations under the License.
21
21
22
22
listeners=http://0.0.0.0:80
23
+ #kafkastore.bootstrap.servers
23
24
kafkastore.connection.url=zookeeper:2181
24
25
kafkastore.topic=_schemas
25
26
debug=false
Original file line number Diff line number Diff line change 50
50
-H "Content-Type: application/vnd.kafka.v2+json" \
51
51
$REST/consumers/my_json_consumer/instances/my_consumer_instance
52
52
53
+ # schema-registry
54
+
55
+ curl -X GET $SCHEMAS/subjects
56
+ echo ""
57
+
58
+ curl -X POST -H "Content-Type: application/vnd.schemaregistry.v1+json" \
59
+ --data '{"schema": "{\"type\": \"string\"}"}' \
60
+ $SCHEMAS/subjects/$TOPIC-key/versions
61
+ echo ""
62
+
63
+ curl -X POST -H "Content-Type: application/vnd.schemaregistry.v1+json" \
64
+ --data '{"schema": "{\"type\": \"string\"}"}' \
65
+ $SCHEMAS/subjects/$TOPIC-value/versions
66
+ echo ""
67
+
68
+ curl -X GET $SCHEMAS/schemas/ids/1
69
+ echo ""
70
+
71
+ curl -X GET $SCHEMAS/subjects/$TOPIC-value/versions/1
72
+ echo ""
73
+
53
74
tail -f /tmp/testlog
54
75
55
76
continue.sh : |-
@@ -104,6 +125,8 @@ spec:
104
125
- name : testcase
105
126
image : solsson/curl@sha256:8c0c5d669b3dd67932da934024252af59fb9d0fa0e5118b5a737b35c5e1487bf
106
127
env :
128
+ - name : SCHEMAS
129
+ value : http://schemas.kafka.svc.cluster.local
107
130
- name : REST
108
131
value : http://rest.kafka.svc.cluster.local
109
132
- name : TOPIC
You can’t perform that action at this time.
0 commit comments