You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iggy.apache.org by kr...@apache.org on 2026/09/29 05:05:36 UTC

(iggy) 05/05: docs(gateways): stop calling Kafka Fetch a stub

This is an automated email from the ASF dual-hosted git repository.

krishvishal pushed a commit to branch kafka-fetch
in repository https://gitbox.apache.org/repos/asf/iggy.git

commit b2ef6f392ff6b20f8a6a00386a6acdcee8f37e0b
Author: Krishna Vishal <kr...@gmail.com>
AuthorDate: Tue Sep 29 09:51:52 2026 +0530

    docs(gateways): stop calling Kafka Fetch a stub
    
    The ACL mapping, consumer group and manual testing docs landed while
    Fetch was still a stub, and they said so. With a bridge, Fetch now
    reads records as the bridge's Iggy user. A consumer that uses assign()
    outside a group can read, and a group member still waits on
    OffsetFetch.
    
    Co-Authored-By: Claude Opus 5.5 <no...@anthropic.com>
---
 gateways/kafka/docs/ACL_MAPPING.md     | 6 ++----
 gateways/kafka/docs/CONSUMER_GROUPS.md | 4 ++--
 gateways/kafka/docs/MANUAL_TESTING.md  | 2 +-
 3 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/gateways/kafka/docs/ACL_MAPPING.md b/gateways/kafka/docs/ACL_MAPPING.md
index 463158f7e..c552306f7 100644
--- a/gateways/kafka/docs/ACL_MAPPING.md
+++ b/gateways/kafka/docs/ACL_MAPPING.md
@@ -22,10 +22,8 @@ not rendered. See [What is not mapped](#what-is-not-mapped).
 
 ## Why this is worth doing before the data plane exists
 
-Authorization cannot be *enforced* yet. Produce and Fetch are stubs
-([#3535](https://github.com/apache/iggy/issues/3535),
-[#3536](https://github.com/apache/iggy/issues/3536)), so there is no operation to gate, and the
-verified identity is currently discarded.
+Authorization cannot be *enforced* yet. Produce and Fetch act as the bridge's Iggy user for every
+client, so no operation runs as the principal, and the verified identity is discarded.
 
 `DescribeAcls` is the one authorization surface that needs neither. It is a read: take the
 authenticated principal, take the permissions Iggy already holds for it, and answer in Kafka's
diff --git a/gateways/kafka/docs/CONSUMER_GROUPS.md b/gateways/kafka/docs/CONSUMER_GROUPS.md
index e77194539..f649147e9 100644
--- a/gateways/kafka/docs/CONSUMER_GROUPS.md
+++ b/gateways/kafka/docs/CONSUMER_GROUPS.md
@@ -177,8 +177,8 @@ Once Metadata reports partitions, the next wall is `OffsetFetch` (9), which a co
 `SyncGroup` for a non-empty assignment and which is not in scope
 ([#3542](https://github.com/apache/iggy/issues/3542)). An unlisted key closes the connection, so
 that consumer would loop: coordinator connection closes, client marks the coordinator unknown,
-re-runs FindCoordinator, retries OffsetFetch, closes again. Fetch is a stub in any case, so nothing
-can be consumed until [#3535](https://github.com/apache/iggy/issues/3535)/#3542 land.
+re-runs FindCoordinator, retries OffsetFetch, closes again. Fetch reads records with a bridge, so a
+consumer that uses `assign()` outside a group can consume. A group member cannot until #3542 lands.
 
 A dynamic consumer releases its partitions on close through `LeaveGroup`. A static one does not
 send it (see [Static membership](#static-membership-is-accepted-not-honoured)), so a static
diff --git a/gateways/kafka/docs/MANUAL_TESTING.md b/gateways/kafka/docs/MANUAL_TESTING.md
index cce7af5f1..0edc6384c 100644
--- a/gateways/kafka/docs/MANUAL_TESTING.md
+++ b/gateways/kafka/docs/MANUAL_TESTING.md
@@ -336,7 +336,7 @@ Record kcat version and exact error strings in your test log. G1 passing is the
 | -1 | UNKNOWN_SERVER_ERROR | Produce with a bridge: Iggy error with no closer code, or bad bridge login |
 | 0 | NONE | Fetch top-level error field only (`ec=0` there does not mean per-partition success - see A6) |
 | 3 | UNKNOWN_TOPIC_OR_PARTITION | Metadata stub, per topic. Produce with a bridge: missing topic or partition |
-| 6 | NOT_LEADER_OR_FOLLOWER | Produce/Fetch/ListOffsets stub (not stored). Produce with a bridge: Iggy unreachable, or the request budget ran out |
+| 6 | NOT_LEADER_OR_FOLLOWER | Produce/Fetch/ListOffsets stub (not stored). Produce with a bridge: Iggy unreachable, or the request budget ran out. Fetch with a bridge: Iggy unreachable, too slow, or loading the partition |
 | 7 | REQUEST_TIMED_OUT | Produce with a bridge: deadline passed, or connection lost mid-send (may be stored) |
 | 10 | MESSAGE_TOO_LARGE | Produce with a bridge: record, send or partition too large, even alone |
 | 17 | INVALID_TOPIC_EXCEPTION | Produce with a bridge: bad topic name |