Class GroupInfo
Encapsulates information describing a particular Kafka group.
Inherited Members
Namespace: Confluent.Kafka
Assembly: Confluent.Kafka.dll
Syntax
public class GroupInfo
Constructors
GroupInfo(BrokerMetadata, string, Error, string, string, string, List<GroupMemberInfo>)
Initializes a new instance of the GroupInfo class.
Declaration
public GroupInfo(BrokerMetadata broker, string group, Error error, string state, string protocolType, string protocol, List<GroupMemberInfo> members)
Parameters
Type | Name | Description |
---|---|---|
BrokerMetadata | broker | Originating broker info. |
string | group | The group name. |
Error | error | A rich Error value associated with the information encapsulated by this class. |
string | state | The group state. |
string | protocolType | The group protocol type. |
string | protocol | The group protocol. |
List<GroupMemberInfo> | members | The group members. |
Properties
Broker
Gets the originating-broker info.
Declaration
public BrokerMetadata Broker { get; }
Property Value
Type | Description |
---|---|
BrokerMetadata |
Error
Gets a rich Error value associated with the information encapsulated by this class.
Declaration
public Error Error { get; }
Property Value
Type | Description |
---|---|
Error |
Group
Gets the group name
Declaration
public string Group { get; }
Property Value
Type | Description |
---|---|
string |
Members
Gets the group members
Declaration
public List<GroupMemberInfo> Members { get; }
Property Value
Type | Description |
---|---|
List<GroupMemberInfo> |
Protocol
Gets the group protocol
Declaration
public string Protocol { get; }
Property Value
Type | Description |
---|---|
string |
ProtocolType
Gets the group protocol type
Declaration
public string ProtocolType { get; }
Property Value
Type | Description |
---|---|
string |
State
Gets the group state
Declaration
public string State { get; }
Property Value
Type | Description |
---|---|
string |