|
38 | 38 | // Version 9 is the first version that can be used with the new consumer group protocol (KIP-848). The response is
|
39 | 39 | // the same as version 8 but can return STALE_MEMBER_EPOCH and UNKNOWN_MEMBER_ID errors when the new consumer group
|
40 | 40 | // protocol is used.
|
41 |
| - "validVersions": "1-9", |
| 41 | + // |
| 42 | + // Version 10 adds support for topic ids (KIP-848). |
| 43 | + "validVersions": "1-10", |
42 | 44 | "flexibleVersions": "6+",
|
43 | 45 | // Supported errors:
|
44 | 46 | // - GROUP_AUTHORIZATION_FAILED (version 0+)
|
|
49 | 51 | // - UNSTABLE_OFFSET_COMMIT (version 7+)
|
50 | 52 | // - UNKNOWN_MEMBER_ID (version 9+)
|
51 | 53 | // - STALE_MEMBER_EPOCH (version 9+)
|
| 54 | + // - UNKNOWN_TOPIC_ID (version 10+) |
52 | 55 | "fields": [
|
53 | 56 | { "name": "ThrottleTimeMs", "type": "int32", "versions": "3+", "ignorable": true,
|
54 | 57 | "about": "The duration in milliseconds for which the request was throttled due to a quota violation, or zero if the request did not violate any quota." },
|
|
78 | 81 | "about": "The group ID." },
|
79 | 82 | { "name": "Topics", "type": "[]OffsetFetchResponseTopics", "versions": "8+",
|
80 | 83 | "about": "The responses per topic.", "fields": [
|
81 |
| - { "name": "Name", "type": "string", "versions": "8+", "entityType": "topicName", |
| 84 | + { "name": "Name", "type": "string", "versions": "8+", "entityType": "topicName", "ignorable": true, |
82 | 85 | "about": "The topic name." },
|
| 86 | + { "name": "TopicId", "type": "uuid", "versions": "10+", "ignorable": true, |
| 87 | + "about": "The topic ID." }, |
83 | 88 | { "name": "Partitions", "type": "[]OffsetFetchResponsePartitions", "versions": "8+",
|
84 | 89 | "about": "The responses per partition.", "fields": [
|
85 | 90 | { "name": "PartitionIndex", "type": "int32", "versions": "8+",
|
|
0 commit comments