We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ffb040 commit a90c16eCopy full SHA for a90c16e
src/main/scala/net/manub/embeddedkafka/EmbeddedKafka.scala
@@ -86,7 +86,7 @@ sealed trait EmbeddedKafkaSupport {
86
* @param body the function to execute
87
* @param config an implicit [[EmbeddedKafkaConfig]]
88
*/
89
- def withRunningKafka(body: => Unit)(implicit config: EmbeddedKafkaConfig) = {
+ def withRunningKafka(body: => Any)(implicit config: EmbeddedKafkaConfig) = {
90
91
val factory = startZooKeeper(config.zooKeeperPort)
92
val broker = startKafka(config)
0 commit comments