Interface ManagedKafkaConnectGrpc.AsyncService (0.16.1)

public static interface ManagedKafkaConnectGrpc.AsyncService

The service that a client application uses to manage Apache Kafka Connect clusters and connectors.

Methods

createConnectCluster(CreateConnectClusterRequest request, StreamObserver<Operation> responseObserver)

public default void createConnectCluster(CreateConnectClusterRequest request, StreamObserver<Operation> responseObserver)

Creates a new Kafka Connect cluster in a given project and location.

Parameters
Name Description
request CreateConnectClusterRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createConnector(CreateConnectorRequest request, StreamObserver<Connector> responseObserver)

public default void createConnector(CreateConnectorRequest request, StreamObserver<Connector> responseObserver)

Creates a new connector in a given Connect cluster.

Parameters
Name Description
request CreateConnectorRequest
responseObserver io.grpc.stub.StreamObserver<Connector>

deleteConnectCluster(DeleteConnectClusterRequest request, StreamObserver<Operation> responseObserver)

public default void deleteConnectCluster(DeleteConnectClusterRequest request, StreamObserver<Operation> responseObserver)

Deletes a single Connect cluster.

Parameters
Name Description
request DeleteConnectClusterRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteConnector(DeleteConnectorRequest request, StreamObserver<Empty> responseObserver)

public default void deleteConnector(DeleteConnectorRequest request, StreamObserver<Empty> responseObserver)

Deletes a connector.

Parameters
Name Description
request DeleteConnectorRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

getConnectCluster(GetConnectClusterRequest request, StreamObserver<ConnectCluster> responseObserver)

public default void getConnectCluster(GetConnectClusterRequest request, StreamObserver<ConnectCluster> responseObserver)

Returns the properties of a single Kafka Connect cluster.

Parameters
Name Description
request GetConnectClusterRequest
responseObserver io.grpc.stub.StreamObserver<ConnectCluster>

getConnector(GetConnectorRequest request, StreamObserver<Connector> responseObserver)

public default void getConnector(GetConnectorRequest request, StreamObserver<Connector> responseObserver)

Returns the properties of a single connector.

Parameters
Name Description
request GetConnectorRequest
responseObserver io.grpc.stub.StreamObserver<Connector>

listConnectClusters(ListConnectClustersRequest request, StreamObserver<ListConnectClustersResponse> responseObserver)

public default void listConnectClusters(ListConnectClustersRequest request, StreamObserver<ListConnectClustersResponse> responseObserver)

Lists the Kafka Connect clusters in a given project and location.

Parameters
Name Description
request ListConnectClustersRequest
responseObserver io.grpc.stub.StreamObserver<ListConnectClustersResponse>

listConnectors(ListConnectorsRequest request, StreamObserver<ListConnectorsResponse> responseObserver)

public default void listConnectors(ListConnectorsRequest request, StreamObserver<ListConnectorsResponse> responseObserver)

Lists the connectors in a given Connect cluster.

Parameters
Name Description
request ListConnectorsRequest
responseObserver io.grpc.stub.StreamObserver<ListConnectorsResponse>

pauseConnector(PauseConnectorRequest request, StreamObserver<PauseConnectorResponse> responseObserver)

public default void pauseConnector(PauseConnectorRequest request, StreamObserver<PauseConnectorResponse> responseObserver)

Pauses the connector and its tasks.

Parameters
Name Description
request PauseConnectorRequest
responseObserver io.grpc.stub.StreamObserver<PauseConnectorResponse>

restartConnector(RestartConnectorRequest request, StreamObserver<RestartConnectorResponse> responseObserver)

public default void restartConnector(RestartConnectorRequest request, StreamObserver<RestartConnectorResponse> responseObserver)

Restarts the connector.

Parameters
Name Description
request RestartConnectorRequest
responseObserver io.grpc.stub.StreamObserver<RestartConnectorResponse>

resumeConnector(ResumeConnectorRequest request, StreamObserver<ResumeConnectorResponse> responseObserver)

public default void resumeConnector(ResumeConnectorRequest request, StreamObserver<ResumeConnectorResponse> responseObserver)

Resumes the connector and its tasks.

Parameters
Name Description
request ResumeConnectorRequest
responseObserver io.grpc.stub.StreamObserver<ResumeConnectorResponse>

stopConnector(StopConnectorRequest request, StreamObserver<StopConnectorResponse> responseObserver)

public default void stopConnector(StopConnectorRequest request, StreamObserver<StopConnectorResponse> responseObserver)

Stops the connector.

Parameters
Name Description
request StopConnectorRequest
responseObserver io.grpc.stub.StreamObserver<StopConnectorResponse>

updateConnectCluster(UpdateConnectClusterRequest request, StreamObserver<Operation> responseObserver)

public default void updateConnectCluster(UpdateConnectClusterRequest request, StreamObserver<Operation> responseObserver)

Updates the properties of a single Kafka Connect cluster.

Parameters
Name Description
request UpdateConnectClusterRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateConnector(UpdateConnectorRequest request, StreamObserver<Connector> responseObserver)

public default void updateConnector(UpdateConnectorRequest request, StreamObserver<Connector> responseObserver)

Updates the properties of a connector.

Parameters
Name Description
request UpdateConnectorRequest
responseObserver io.grpc.stub.StreamObserver<Connector>