Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/kafka
/ topics
Method
topics
clients/src/main/java/org/apache/kafka/common/Cluster.java:145–147 ·
view source on GitHub ↗
Get all topics. @return a set of all topics
()
Source
from the content-addressed store, hash-verified
143
* @
return
a set of all topics
144
*/
145
public
Set<String> topics() {
146
return
this.partitionsByTopic.keySet();
147
}
148
149
@Override
150
public
String toString() {
Callers
nothing calls this directly
Calls
1
keySet
Method · 0.80
Tested by
no test coverage detected