Skip to content

Commit 34110d6

Browse files
committed
Fix travis configuration
1 parent 6722470 commit 34110d6

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
language: java
22

33
jdk:
4-
- oraclejdk7
5-
- openjdk7
64
- oraclejdk8

src/main/java/com/linkedin/kmf/services/ProduceService.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,8 @@ private void initializeStateForPartitions(int partitionNum) {
165165
_sensors.addPartitionSensors(partition);
166166
}
167167
_produceExecutor.scheduleWithFixedDelay(new ProduceRunnable(partition, key), _produceDelayMs, _produceDelayMs, TimeUnit.MILLISECONDS);
168-
_partitionNum.set(partitionNum);
169168
}
169+
_partitionNum.set(partitionNum);
170170
}
171171

172172
private Map<Integer, String> generateKeyMappings(int partitionNum) {
@@ -367,4 +367,4 @@ public Thread newThread(Runnable r) {
367367
}
368368
}
369369

370-
}
370+
}

0 commit comments

Comments
 (0)