public sealed class ConsumerGroup : IMessage<ConsumerGroup>, IEquatable<ConsumerGroup>, IDeepCloneable<ConsumerGroup>, IBufferMessage, IMessage
Reference documentation and code samples for the Managed Service for Apache Kafka API v1 API class ConsumerGroup.
A Kafka consumer group in a given cluster.
Implements
IMessageConsumerGroup, IEquatableConsumerGroup, IDeepCloneableConsumerGroup, IBufferMessage, IMessageNamespace
Google.Cloud.ManagedKafka.V1Assembly
Google.Cloud.ManagedKafka.V1.dll
Constructors
ConsumerGroup()
public ConsumerGroup()
ConsumerGroup(ConsumerGroup)
public ConsumerGroup(ConsumerGroup other)
Parameter | |
---|---|
Name | Description |
other |
ConsumerGroup |
Properties
ConsumerGroupName
public ConsumerGroupName ConsumerGroupName { get; set; }
ConsumerGroupName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
ConsumerGroupName |
Name
public string Name { get; set; }
Identifier. The name of the consumer group. The consumer_group
segment is
used when connecting directly to the cluster. Structured like:
projects/{project}/locations/{location}/clusters/{cluster}/consumerGroups/{consumer_group}
Property Value | |
---|---|
Type | Description |
string |
Topics
public MapField<string, ConsumerTopicMetadata> Topics { get; }
Optional. Metadata for this consumer group for all topics it has metadata for. The key of the map is a topic name, structured like: projects/{project}/locations/{location}/clusters/{cluster}/topics/{topic}
Property Value | |
---|---|
Type | Description |
MapFieldstringConsumerTopicMetadata |