public static void main(String[] args) throws Exception
   {
-    if (args.length != 3)
+    String broker = ":9092";
+    String topic = "test";
+    String clientId = "DEV";
+
+    switch (args.length)
     {
-      log.error("Three arguments required!");
-      log.error("arg[0]: Broker-Address");
-      log.error("arg[1]: Topic");
-      log.error("arg[2]: Unique Client-ID");
-      System.exit(1);
-      return;
+      case 3:
+        clientId = args[2];
+      case 2:
+        topic = args[1];
+      case 1:
+        broker = args[0];
     }
 
-    log.info(
-      "Running ExampleProducer: broker={}, topic={}, client-id={}",
-      args[0],
-      args[1],
-      args[2]);
-
-    ExampleProducer instance = new ExampleProducer(args[0], args[1], args[2]);
+    ExampleProducer instance = new ExampleProducer(broker, topic, clientId);
 
     Runtime.getRuntime().addShutdownHook(new Thread(() ->
     {
       log.info("Shutdown completed.");
     }));
 
+    log.info(
+      "Running ExampleProducer: broker={}, topic={}, client-id={}",
+      broker,
+      topic,
+      clientId);
     instance.run();
   }
 }