Skip to content

Commit 2720a2d

Browse files
committed
Example cleanup
1 parent 26c0add commit 2720a2d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

example-java/src/main/java/com/softwaremill/kmq/example/embedded/EmbeddedExample.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import com.softwaremill.kmq.example.UncaughtExceptionHandling;
55
import net.manub.embeddedkafka.EmbeddedKafka$;
66
import net.manub.embeddedkafka.EmbeddedKafkaConfig;
7+
import net.manub.embeddedkafka.EmbeddedKafkaConfig$;
78
import org.apache.kafka.clients.consumer.*;
89
import org.apache.kafka.clients.producer.KafkaProducer;
910
import org.apache.kafka.clients.producer.ProducerRecord;
@@ -28,7 +29,7 @@ public class EmbeddedExample {
2829
private static final int PARTITIONS = 1;
2930
private static final int TOTAL_MSGS = 100;
3031

31-
public static void main(String[] args) throws InterruptedException, IOException {
32+
public static void main(String[] args) throws IOException {
3233
UncaughtExceptionHandling.setup();
3334

3435
KmqConfig kmqConfig = new KmqConfig("queue", "markers", "kmq_client",

0 commit comments

Comments
 (0)