Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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?: {
[key: string]: string;
}
[src]

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.