summaryrefslogtreecommitdiff
path: root/kafka/structs.py
diff options
context:
space:
mode:
Diffstat (limited to 'kafka/structs.py')
-rw-r--r--kafka/structs.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/kafka/structs.py b/kafka/structs.py
index 0d225bc..bcb0236 100644
--- a/kafka/structs.py
+++ b/kafka/structs.py
@@ -70,6 +70,11 @@ Keyword Arguments:
OffsetAndTimestamp = namedtuple("OffsetAndTimestamp",
["offset", "timestamp"])
+MemberInformation = namedtuple("MemberInformation",
+ ["member_id", "client_id", "client_host", "member_metadata", "member_assignment"])
+
+GroupInformation = namedtuple("GroupInformation",
+ ["error_code", "group", "state", "protocol_type", "protocol", "members", "authorized_operations"])
"""Define retry policy for async producer