mirror of https://github.com/apache/kafka.git
remove exception
This commit is contained in:
parent
a51d19b800
commit
38f9b9f1a6
|
@ -183,7 +183,7 @@ public class AtLeastOnceDeliveryMessageLossIntegrationTest {
|
||||||
streamsConfiguration.put(ProducerConfig.BATCH_SIZE_CONFIG, 33554432);
|
streamsConfiguration.put(ProducerConfig.BATCH_SIZE_CONFIG, 33554432);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void produceInputData(final int recordCount) throws Exception {
|
private void produceInputData(final int recordCount) {
|
||||||
final List<KeyValue<String, String>> inputRecords = new ArrayList<>();
|
final List<KeyValue<String, String>> inputRecords = new ArrayList<>();
|
||||||
for (int i = 1; i <= recordCount; i++) {
|
for (int i = 1; i <= recordCount; i++) {
|
||||||
inputRecords.add(new KeyValue<>(String.valueOf(i), "item-" + i));
|
inputRecords.add(new KeyValue<>(String.valueOf(i), "item-" + i));
|
||||||
|
|
Loading…
Reference in New Issue