Connector
import type { Connector } from "https://googleapis.deno.dev/v1/managedkafka:v1.ts";
A Kafka Connect connector in a given ConnectCluster.
interface Connector {
configs?: {};
[key: string]: string;
name?: string;
readonly state?:
| "STATE_UNSPECIFIED"
| "UNASSIGNED"
| "RUNNING"
| "PAUSED"
| "FAILED"
| "RESTARTING"
| "STOPPED";
taskRestartPolicy?: TaskRetryPolicy;
}§Properties
§
configs?: {}
[src][key: string]: string;
Optional. Connector config as keys/values. The keys of the map are
connector property names, for example: connector.class
, tasks.max
,
key.converter
.
§
name?: string
[src]Identifier. The name of the connector. Structured like: projects/{project}/locations/{location}/connectClusters/{connect_cluster}/connectors/{connector}
§
readonly state?: "STATE_UNSPECIFIED" | "UNASSIGNED" | "RUNNING" | "PAUSED" | "FAILED" | "RESTARTING" | "STOPPED"
[src]Output only. The current state of the connector.
§
taskRestartPolicy?: TaskRetryPolicy
[src]Optional. Restarts the individual tasks of a Connector.