Class ManagedKafkaGrpc.ManagedKafkaStub (0.2.0)

public static final class ManagedKafkaGrpc.ManagedKafkaStub extends AbstractAsyncStub<ManagedKafkaGrpc.ManagedKafkaStub>

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

The service that a client application uses to manage Apache Kafka clusters, topics and consumer groups.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > ManagedKafkaGrpc.ManagedKafkaStub

Methods

build(Channel channel, CallOptions callOptions)

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

createCluster(CreateClusterRequest request, StreamObserver<Operation> responseObserver)

public void createCluster(CreateClusterRequest request, StreamObserver<Operation> responseObserver)

Creates a new cluster in a given project and location.

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

createTopic(CreateTopicRequest request, StreamObserver<Topic> responseObserver)

public void createTopic(CreateTopicRequest request, StreamObserver<Topic> responseObserver)

Creates a new topic in a given project and location.

Parameters
Name Description
request CreateTopicRequest
responseObserver io.grpc.stub.StreamObserver<Topic>

deleteCluster(DeleteClusterRequest request, StreamObserver<Operation> responseObserver)

public void deleteCluster(DeleteClusterRequest request, StreamObserver<Operation> responseObserver)

Deletes a single cluster.

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

deleteConsumerGroup(DeleteConsumerGroupRequest request, StreamObserver<Empty> responseObserver)

public void deleteConsumerGroup(DeleteConsumerGroupRequest request, StreamObserver<Empty> responseObserver)

Deletes a single consumer group.

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

deleteTopic(DeleteTopicRequest request, StreamObserver<Empty> responseObserver)

public void deleteTopic(DeleteTopicRequest request, StreamObserver<Empty> responseObserver)

Deletes a single topic.

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

getCluster(GetClusterRequest request, StreamObserver<Cluster> responseObserver)

public void getCluster(GetClusterRequest request, StreamObserver<Cluster> responseObserver)

Returns the properties of a single cluster.

Parameters
Name Description
request GetClusterRequest
responseObserver io.grpc.stub.StreamObserver<Cluster>

getConsumerGroup(GetConsumerGroupRequest request, StreamObserver<ConsumerGroup> responseObserver)

public void getConsumerGroup(GetConsumerGroupRequest request, StreamObserver<ConsumerGroup> responseObserver)

Returns the properties of a single consumer group.

Parameters
Name Description
request GetConsumerGroupRequest
responseObserver io.grpc.stub.StreamObserver<ConsumerGroup>

getTopic(GetTopicRequest request, StreamObserver<Topic> responseObserver)

public void getTopic(GetTopicRequest request, StreamObserver<Topic> responseObserver)

Returns the properties of a single topic.

Parameters
Name Description
request GetTopicRequest
responseObserver io.grpc.stub.StreamObserver<Topic>

listClusters(ListClustersRequest request, StreamObserver<ListClustersResponse> responseObserver)

public void listClusters(ListClustersRequest request, StreamObserver<ListClustersResponse> responseObserver)

Lists the clusters in a given project and location.

Parameters
Name Description
request ListClustersRequest
responseObserver io.grpc.stub.StreamObserver<ListClustersResponse>

listConsumerGroups(ListConsumerGroupsRequest request, StreamObserver<ListConsumerGroupsResponse> responseObserver)

public void listConsumerGroups(ListConsumerGroupsRequest request, StreamObserver<ListConsumerGroupsResponse> responseObserver)

Lists the consumer groups in a given cluster.

Parameters
Name Description
request ListConsumerGroupsRequest
responseObserver io.grpc.stub.StreamObserver<ListConsumerGroupsResponse>

listTopics(ListTopicsRequest request, StreamObserver<ListTopicsResponse> responseObserver)

public void listTopics(ListTopicsRequest request, StreamObserver<ListTopicsResponse> responseObserver)

Lists the topics in a given cluster.

Parameters
Name Description
request ListTopicsRequest
responseObserver io.grpc.stub.StreamObserver<ListTopicsResponse>

updateCluster(UpdateClusterRequest request, StreamObserver<Operation> responseObserver)

public void updateCluster(UpdateClusterRequest request, StreamObserver<Operation> responseObserver)

Updates the properties of a single cluster.

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

updateConsumerGroup(UpdateConsumerGroupRequest request, StreamObserver<ConsumerGroup> responseObserver)

public void updateConsumerGroup(UpdateConsumerGroupRequest request, StreamObserver<ConsumerGroup> responseObserver)

Updates the properties of a single consumer group.

Parameters
Name Description
request UpdateConsumerGroupRequest
responseObserver io.grpc.stub.StreamObserver<ConsumerGroup>

updateTopic(UpdateTopicRequest request, StreamObserver<Topic> responseObserver)

public void updateTopic(UpdateTopicRequest request, StreamObserver<Topic> responseObserver)

Updates the properties of a single topic.

Parameters
Name Description
request UpdateTopicRequest
responseObserver io.grpc.stub.StreamObserver<Topic>