Group¶
- class oci.streaming.models.Group(**kwargs)¶
Bases:
objectRepresents the current state of a consumer group, including partition reservations and committed offsets.
Methods:
__init__(**kwargs)Initializes a new Group object with values from keyword arguments.
Attributes:
[Required] Gets the group_name of this Group.
Gets the reservations of this Group.
[Required] Gets the stream_id of this Group.
- __init__(**kwargs)¶
Initializes a new Group object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
stream_id (str) – The value to assign to the stream_id property of this Group.
group_name (str) – The value to assign to the group_name property of this Group.
reservations (list[oci.streaming.models.PartitionReservation]) – The value to assign to the reservations property of this Group.
- property group_name¶
[Required] Gets the group_name of this Group. The name of the consumer group.
- Returns
The group_name of this Group.
- Return type
str
- property reservations¶
Gets the reservations of this Group. An array of the partition reservations of a group.
- Returns
The reservations of this Group.
- Return type
- property stream_id¶
[Required] Gets the stream_id of this Group. The streamId for which the group exists.
- Returns
The stream_id of this Group.
- Return type
str