Skip to content

Commit

Permalink
Fix deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
bplommer committed Mar 9, 2022
1 parent 5bc9a7e commit d5a1b5f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ object KafkaAdminClient {
withAdminClient: WithAdminClient[F],
topics: G[String]
)(implicit G: Foldable[G]): F[Map[String, TopicDescription]] =
withAdminClient(_.describeTopics(topics.asJava).all.map(_.toMap))
withAdminClient(_.describeTopics(topics.asJava).allTopicNames.map(_.toMap))

private[this] def describeAclsWith[F[_]](
withAdminClient: WithAdminClient[F],
Expand Down

0 comments on commit d5a1b5f

Please sign in to comment.