GH-1531 Removed partitionCount as arg for isPartitioned check

Resolves #1531
This commit is contained in:
Oleg Zhurakousky
2018-11-19 13:22:48 +01:00
committed by Soby Chacko
parent c16a03e85c
commit f44dc7d694

View File

@@ -105,8 +105,8 @@ public class ProducerProperties implements MergableProperties {
}
public boolean isPartitioned() {
return this.partitionCount > 1 || this.partitionKeyExpression != null
|| this.partitionKeyExtractorName != null || this.partitionKeyExtractorClass != null;
return this.partitionKeyExpression != null || this.partitionKeyExtractorName != null
|| this.partitionKeyExtractorClass != null;
}
@Deprecated