GH-1531 Removed partitionCount as arg for isPartitioned check
Resolves #1531
This commit is contained in:
committed by
Soby Chacko
parent
c16a03e85c
commit
f44dc7d694
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user