Group¶
-
class
oci.streaming.models.
Group
(**kwargs)¶ Bases:
object
Represents 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
group_name
[Required] Gets the group_name of this Group. reservations
Gets the reservations of this Group. stream_id
[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.
-
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
-
reservations
¶ Gets the reservations of this Group. An array of the partition reservations of a group.
Returns: The reservations of this Group. Return type: list[oci.streaming.models.PartitionReservation]
-
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
-