Class ManagedKafkaConnectGrpc.ManagedKafkaConnectStub (0.16.1)

public static final class ManagedKafkaConnectGrpc.ManagedKafkaConnectStub extends AbstractAsyncStub<ManagedKafkaConnectGrpc.ManagedKafkaConnectStub>

A stub to allow clients to do asynchronous rpc calls to service ManagedKafkaConnect.

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

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > ManagedKafkaConnectGrpc.ManagedKafkaConnectStub

Methods

build(Channel channel, CallOptions callOptions)

protected ManagedKafkaConnectGrpc.ManagedKafkaConnectStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
ManagedKafkaConnectGrpc.ManagedKafkaConnectStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createConnectCluster(CreateConnectClusterRequest request, StreamObserver<Operation> responseObserver)

public 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 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 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 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 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 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 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 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 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 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 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 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 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 void updateConnector(UpdateConnectorRequest request, StreamObserver<Connector> responseObserver)

Updates the properties of a connector.

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