You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
createCmd.Flags().StringP(flag.ClusterID, flag.ClusterIDShort, "", "The ID of the cluster.")
255
265
createCmd.Flags().String(flag.ChangefeedName, "", "The name of the changefeed.")
256
-
createCmd.Flags().String(flag.ChangefeedType, "", fmt.Sprintf("The type of the changefeed, one of %q", cdc.AllowedConnectorTypeEnumEnumValues))
266
+
createCmd.Flags().String(flag.ChangefeedType, "", fmt.Sprintf("The type of the changefeed, one of %q", cdc.AllowedChangefeedTypeEnumEnumValues))
257
267
createCmd.Flags().String(flag.ChangefeedKafka, "", "Kafka information in JSON format, use \"ticloud serverless changefeed template\" to see templates.")
268
+
createCmd.Flags().String(flag.ChangefeedMySQL, "", "MySQL information in JSON format, use \"ticloud serverless changefeed template\" to see templates.")
258
269
createCmd.Flags().String(flag.ChangefeedFilter, "", "Filter in JSON format, use \"ticloud serverless changefeed template\" to see templates.")
259
270
createCmd.Flags().Uint64(flag.ChangefeedStartTSO, 0, "Start TSO for the changefeed, default to current TSO. See https://docs.pingcap.com/tidb/stable/tso/ for more information about TSO.")
260
271
261
272
returncreateCmd
262
273
}
263
-
264
-
// inputDescription 用于交互式输入提示
265
-
varinputDescription=map[string]string{
266
-
flag.ChangefeedName: "The name of the changefeed, skip to use the default name",
267
-
flag.ChangefeedType: fmt.Sprintf("The type of the changefeed, one of %q", cdc.AllowedConnectorTypeEnumEnumValues),
268
-
flag.ChangefeedKafka: "Kafka information in JSON format, use \"ticloud serverless changefeed template\" to see templates.",
269
-
flag.ChangefeedFilter: "Filter in JSON format, use \"ticloud serverless changefeed template\" to see templates.",
270
-
flag.ChangefeedStartTSO: "Start TSO (uint64) for the changefeed, skip to use the current TSO. See https://docs.pingcap.com/tidb/stable/tso/ for more information about TSO.",
editCmd.Flags().String(flag.ChangefeedID, "", "The ID of the changefeed to be updated.")
207
240
editCmd.Flags().String(flag.ChangefeedName, "", "The new name of the changefeed.")
208
241
editCmd.Flags().String(flag.ChangefeedKafka, "", "Complete kafka information in JSON format, use \"ticloud serverless changefeed template\" to see templates.")
242
+
editCmd.Flags().String(flag.ChangefeedMySQL, "", "Complete mysql information in JSON format, use \"ticloud serverless changefeed template\" to see templates.")
209
243
editCmd.Flags().String(flag.ChangefeedFilter, "", "Complete filter in JSON format, use \"ticloud serverless changefeed template\" to see templates.")
0 commit comments