Google Cloud Managed Kafka V1 Client - Class State (0.4.0)

Reference documentation and code samples for the Google Cloud Managed Kafka V1 Client class State.

The state of the connector.

Protobuf type google.cloud.managedkafka.v1.Connector.State

Namespace

Google \ Cloud \ ManagedKafka \ V1 \ Connector

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

STATE_UNSPECIFIED

Value: 0

A state was not specified.

Generated from protobuf enum STATE_UNSPECIFIED = 0;

UNASSIGNED

Value: 1

The connector is not assigned to any tasks, usually transient.

Generated from protobuf enum UNASSIGNED = 1;

RUNNING

Value: 2

The connector is running.

Generated from protobuf enum RUNNING = 2;

PAUSED

Value: 3

The connector has been paused.

Generated from protobuf enum PAUSED = 3;

FAILED

Value: 4

The connector has failed. See logs for why.

Generated from protobuf enum FAILED = 4;

RESTARTING

Value: 5

The connector is restarting.

Generated from protobuf enum RESTARTING = 5;

STOPPED

Value: 6

The connector has been stopped.

Generated from protobuf enum STOPPED = 6;