-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkafka.http
26 lines (24 loc) · 889 Bytes
/
kafka.http
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
### create um source com mysql
POST http://host.docker.internal:8084/connectors
Content-Type: application/json
Accept: application/json
{
"name": "mysql-connector",
"config": {
"connector.class": "io.debezium.connector.mysql.MySqlConnector",
"tasks.max": "1",
"topic.prefix": "mysql",
"database.hostname": "host.docker.internal",
"database.port": "3306",
"database.user": "root",
"database.password": "root",
"database.server.id": "1",
"provide.transaction.metadata": "true",
"database.server.name": "mysql-server",
"schema.history.internal.kafka.bootstrap.servers": "kafka:29092",
"schema.history.internal.kafka.topic": "mysql_history",
"database.whitelist": "micro_videos"
}
}
### consultar um schema registry pelo id
GET http://host.docker.internal:8083/schemas/ids/3