kafka/docs
Dongnuo Lyu 36f19057e1
KAFKA-18813: ConsumerGroupHeartbeat API and ConsumerGroupDescribe API must check topic describe (#18989)
This patch filters out the topic describe unauthorized topics from the
ConsumerGroupHeartbeat and ConsumerGroupDescribe response.

In ConsumerGroupHeartbeat, 
- if the request has `subscribedTopicNames` set, we directly check the
authz in `KafkaApis` and return a topic auth failure in the response if
any of the topics is denied.
- Otherwise, we check the authz only if a regex refresh is triggered and
we do it based on the acl of the consumer that triggered the refresh. If
any of the topic is denied, we filter it out from the resolved
subscription.

In ConsumerGroupDescribe, we check the authz of the coordinator
response. If any of the topic in the group is denied, we remove the
described info and add a topic auth failure to the described group.
(similar to the group auth failure)

Reviewers: David Jacot <djacot@confluent.io>, Lianet Magrans
<lmagrans@confluent.io>, Rajini Sivaram <rajinisivaram@googlemail.com>,
Chia-Ping Tsai <chia7712@gmail.com>, TaiJuWu <tjwu1217@gmail.com>,
TengYao Chi <kitingiao@gmail.com>
2025-02-26 13:05:36 -05:00
..
documentation KAFKA-10679: [Streams] migrate kafka-site updated docs to kafka/docs (#9554) 2020-11-04 08:30:10 -05:00
images KAFKA-18111: Add Kafka Logo to README (#18452) 2025-01-08 17:17:31 -08:00
js MINOR: Bump trunk to 4.1.0-SNAPSHOT (#18213) 2024-12-16 16:47:13 +01:00
streams KAFKA-18023: Enforcing Explicit Naming for Kafka Streams Internal Topics (#18233) 2025-02-24 11:41:42 +01:00
README.md KAFKA-16467: add docs README (#15664) 2024-04-30 10:26:35 +08:00
api.html KAFKA-6197: Update Streams API and Javadoc references in documentation (#17215) 2024-09-28 12:42:59 -07:00
configuration.html MINOR: add docs for "org.apache.kafka.sasl.oauthbearer.allowed.urls" (#18938) 2025-02-18 16:47:43 +08:00
connect.html MINOR: Remove unnecessary < from Errant Record Reporter section (#18498) 2025-01-13 12:13:10 +01:00
design.html MINOR: Adjust docs for the committed message (#19022) 2025-02-25 13:27:33 +00:00
docker.html MINOR: Refresh of the docs (#16375) 2024-06-18 17:15:47 +02:00
documentation.html MINOR: Update version is doc (#19006) 2025-02-22 12:37:15 +01:00
ecosystem.html MINOR: Improve introduction section in docs to better cover connect and streams. Make uses and ecosystem pages stand alone. 2016-09-28 16:30:21 -07:00
implementation.html MINOR: Remove old message format documentation (#19033) 2025-02-26 09:36:08 -08:00
introduction.html MINOR: Fix broken link in introduction.html (#11249) 2021-10-11 16:45:36 +02:00
ops.html KAFKA-18813: ConsumerGroupHeartbeat API and ConsumerGroupDescribe API must check topic describe (#18989) 2025-02-26 13:05:36 -05:00
protocol.html MINOR: Add protocol documentation about ApiVersions Fallback behaviour (#17967) 2024-12-05 11:22:27 +08:00
quickstart.html KAFKA-18229: Move configs out of "kraft" directory (#18389) 2025-01-22 15:47:57 +01:00
security.html KAFKA-16718 [1/n]: Added DeleteShareGroupOffsets request and response schema (#18927) 2025-02-18 14:06:24 +00:00
toc.html MINOR: Add a separate page for zk2kraft.html (#18961) 2025-02-26 05:39:30 +08:00
upgrade.html MINOR: Add a separate page for zk2kraft.html (#18961) 2025-02-26 05:39:30 +08:00
uses.html MINOR: Various fixes in the docs (#14914) 2023-12-04 22:06:49 +01:00
zk2kraft.html MINOR: Add a separate page for zk2kraft.html (#18961) 2025-02-26 05:39:30 +08:00

README.md

Docs

The documentation needs to run with kafka-site. Please check the README in the kafka-site repository to preview documentation locally.