From a16dfe673980a0d637287b63ec1e7340384806ac Mon Sep 17 00:00:00 2001 From: Colin Patrick McCabe Date: Tue, 4 Feb 2020 12:38:04 -0800 Subject: [PATCH] MINOR: fix checkstyle issue in ConsumerConfig.java (#8038) Reviewers: Ismael Juma --- .../clients/consumer/ConsumerConfig.java | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/clients/src/main/java/org/apache/kafka/clients/consumer/ConsumerConfig.java b/clients/src/main/java/org/apache/kafka/clients/consumer/ConsumerConfig.java index e02cd84beb1..bfe80432468 100644 --- a/clients/src/main/java/org/apache/kafka/clients/consumer/ConsumerConfig.java +++ b/clients/src/main/java/org/apache/kafka/clients/consumer/ConsumerConfig.java @@ -103,17 +103,17 @@ public class ConsumerConfig extends AbstractConfig { * partition.assignment.strategy */ public static final String PARTITION_ASSIGNMENT_STRATEGY_CONFIG = "partition.assignment.strategy"; - private static final String PARTITION_ASSIGNMENT_STRATEGY_DOC = "A list of class names or class types, "+ - "ordered by preference, of supported partition assignment "+ - "strategies that the client will use to distribute partition "+ - "ownership amongst consumer instances when group management is "+ - "used.

In addition to the default class specified below, "+ - "you can use the " + - "org.apache.kafka.clients.consumer.RoundRobinAssignor"+ - "class for round robin assignments of partitions to consumers. "+ + private static final String PARTITION_ASSIGNMENT_STRATEGY_DOC = "A list of class names or class types, " + + "ordered by preference, of supported partition assignment " + + "strategies that the client will use to distribute partition " + + "ownership amongst consumer instances when group management is " + + "used.

In addition to the default class specified below, " + + "you can use the " + + "org.apache.kafka.clients.consumer.RoundRobinAssignor" + + "class for round robin assignments of partitions to consumers. " + "

Implementing the " + - "org.apache.kafka.clients.consumer.ConsumerPartitionAssignor"+ - " interface allows you to plug in a custom assignment"+ + "org.apache.kafka.clients.consumer.ConsumerPartitionAssignor" + + " interface allows you to plug in a custom assignment" + "strategy."; /**