@@ -29,11 +29,11 @@ import (
2929const (
3030 KafkaInfoTemplateWithExplain = `{
3131 "network": {
32- // networkType: "PUBLIC", "PRIVATE "
32+ // networkType: "PUBLIC", "PRIVATE_LINK "
3333 "networkType": "PUBLIC",
3434 "publicEndpoints": "broker1:9092,broker2:9092"
3535 "privateLink":{
36- "id ": "plc-xxx",
36+ "privateLinkConnectionId ": "plc-xxx",
3737 "port": 9092
3838 }
3939 },
@@ -52,6 +52,7 @@ const (
5252 "password": "",
5353 "enableTls": false,
5454 // Specify this field when your server rely on TLS SNI, for example, Confluent Cloud Dedicated clusters.
55+ // If you use private link network, you must attach related domain for the server name to work properly.
5556 "serverName": "",
5657 },
5758 "outputRawChangeEvent": false,
@@ -122,7 +123,7 @@ const (
122123 "networkType": "PUBLIC",
123124 "publicEndpoints": "broker1:9092,broker2:9092",
124125 "privateLink":{
125- "id ": "plc-xxx",
126+ "privateLinkConnectionId ": "plc-xxx",
126127 "port": 9092
127128 }
128129 },
@@ -210,7 +211,7 @@ const (
210211
211212 MySQLTemplateWithExplain = `{
212213 "network": {
213- // required "PUBLIC", "PRIVATE "
214+ // required "PUBLIC", "PRIVATE_LINK "
214215 "networkType": "PUBLIC",
215216 "publicEndpoint": "127.0.0.1:3306",
216217 "privateLink":{
0 commit comments