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
parent 11bb223b4a
commit bafbbd3b24

View File

@@ -104,8 +104,8 @@ public class ProducerProperties {
}
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