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