Skip to content

Commit

Permalink
Fix JavaConsumerStrategySuite
Browse files Browse the repository at this point in the history
  • Loading branch information
srowen committed Jul 13, 2020
1 parent 00eceec commit 77fb2be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public void testConsumerStrategyConstructors() {
dummyOffsets.put(kv.getKey(), kv.getValue());
}
final scala.collection.Map<TopicPartition, Object> sOffsets =
JavaConverters.asScala(dummyOffsets);
JavaConverters.mapAsScalaMap(dummyOffsets);

final ConsumerStrategy<String, String> sub1 =
ConsumerStrategies.Subscribe(sTopics, sKafkaParams, sOffsets);
Expand Down

0 comments on commit 77fb2be

Please sign in to comment.