Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
cer committed Sep 8, 2022
1 parent e44ea1e commit 5c49601
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,12 @@ public List<String> outboxTableSuffixes() {
else
return IntStream.range(0, outboxTables).mapToObj(Integer::toString).collect(Collectors.toList());
}

public OutboxPartitioningSpec withOutboxTables(int outboxTables) {
return new OutboxPartitioningSpec(outboxTables, this.outboxTablePartitions);
}

public OutboxPartitioningSpec withTablePartitions(int outboxTables) {
return new OutboxPartitioningSpec(this.outboxTables, outboxTablePartitions);
}
}

0 comments on commit 5c49601

Please sign in to comment.