Skip to content

Commit

Permalink
small refactor changes 💄
Browse files Browse the repository at this point in the history
  • Loading branch information
jpzk committed Aug 10, 2018
1 parent bd91d46 commit d218462
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/main/scala/MockedStreams.scala
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,7 @@ object MockedStreams {
props.put(StreamsConfig.APPLICATION_ID_CONFIG, s"mocked-${UUID.randomUUID().toString}")
props.put(StreamsConfig.BOOTSTRAP_SERVERS_CONFIG, "localhost:9092")
props.putAll(configuration)

val t: () => Topology = topology.getOrElse(throw new NoTopologySpecified)

new Driver(t(), props)
new Driver(topology.getOrElse(throw new NoTopologySpecified)(), props)
}

private def produce(driver: Driver): Unit =
Expand Down

0 comments on commit d218462

Please sign in to comment.