Connector(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A Kafka Connect connector in a given ConnectCluster.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
---|---|
Name | Description |
task_restart_policy |
google.cloud.managedkafka_v1.types.TaskRetryPolicy
Optional. Restarts the individual tasks of a Connector. This field is a member of oneof _ restart_policy .
|
name |
str
Identifier. The name of the connector. Structured like: projects/{project}/locations/{location}/connectClusters/{connect_cluster}/connectors/{connector} |
configs |
MutableMapping[str, str]
Optional. Connector config as keys/values. The keys of the map are connector property names, for example: connector.class , tasks.max , key.converter .
|
state |
google.cloud.managedkafka_v1.types.Connector.State
Output only. The current state of the connector. |
Classes
ConfigsEntry
ConfigsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The abstract base class for a message.
Parameters | |
---|---|
Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |
State
State(value)
The state of the connector.