Skip to content

Commit

Permalink
enable watch in get namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
kehuum committed Nov 17, 2023
1 parent 64c29e7 commit e044f18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/scala/kafka/zk/KafkaZkClient.scala
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ class KafkaZkClient private[zk] (zooKeeperClient: ZooKeeperClient,
* @return sequence of topics in the cluster.
*
*/
def getAllFederatedTopicsInNamespace(namespace: String, registerWatch: Boolean = false): Set[String] = {
def getAllFederatedTopicsInNamespace(namespace: String, registerWatch: Boolean = true): Set[String] = {
val getChildrenResponse = retryRequestUntilConnected(
if (paginateTopics) {
debug(s"upgrading GetChildrenRequest to GetChildrenPaginatedRequest for " +
Expand Down

0 comments on commit e044f18

Please sign in to comment.