kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@apache.org
Subject [kafka] branch trunk updated: MINOR: Fix typo in the Admin API Javadoc example (#11243)
Date Mon, 23 Aug 2021 07:12:17 GMT
This is an automated email from the ASF dual-hosted git repository.

dajac pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/trunk by this push:
     new a382fbd  MINOR: Fix typo in the Admin API Javadoc example (#11243)
a382fbd is described below

commit a382fbdcd40bdfabf3c0987c9cc43bd17e9e3879
Author: Jakub Scholz <www@scholzj.com>
AuthorDate: Mon Aug 23 09:07:01 2021 +0200

    MINOR: Fix typo in the Admin API Javadoc example (#11243)
    
    Reviewers: David Jacot <djacot@confluent.io>
---
 clients/src/main/java/org/apache/kafka/clients/admin/Admin.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clients/src/main/java/org/apache/kafka/clients/admin/Admin.java b/clients/src/main/java/org/apache/kafka/clients/admin/Admin.java
index eb9ec2e..54d103b 100644
--- a/clients/src/main/java/org/apache/kafka/clients/admin/Admin.java
+++ b/clients/src/main/java/org/apache/kafka/clients/admin/Admin.java
@@ -81,7 +81,7 @@ import org.apache.kafka.common.requests.LeaveGroupResponse;
  *   // Create a compacted topic
  *   CreateTopicsResult result = admin.createTopics(Collections.singleton(
  *     new NewTopic(topicName, partitions, replicationFactor)
- *       .configs(Collections.singletonMap(TopicConfig.CLEANUP_POLICY_CONFIG, TopicConfig.CLEANUP_POLICY_COMPACT)));
+ *       .configs(Collections.singletonMap(TopicConfig.CLEANUP_POLICY_CONFIG, TopicConfig.CLEANUP_POLICY_COMPACT))));
  *
  *   // Call values() to get the result for a specific topic
  *   KafkaFuture<Void> future = result.values().get(topicName);

Mime
View raw message