Made changes as per comments.
kafkaProducer is now non-static.

TODO: KafkaPublisherManager Service and not Singleton.
Kafka event publishing.

Change-Id: I5ec20a6e4950c38e822468d343521ab77475b7d3
diff --git a/apps/kafka-integration/api/src/main/java/org/onosproject/kafkaintegration/api/dto/OnosEvent.java b/apps/kafka-integration/api/src/main/java/org/onosproject/kafkaintegration/api/dto/OnosEvent.java
index ff1d27e..2d51c7c 100644
--- a/apps/kafka-integration/api/src/main/java/org/onosproject/kafkaintegration/api/dto/OnosEvent.java
+++ b/apps/kafka-integration/api/src/main/java/org/onosproject/kafkaintegration/api/dto/OnosEvent.java
@@ -19,7 +19,7 @@
 import com.google.protobuf.GeneratedMessage;
 
 /**
- * Represents the converted Onos Event data into GPB format.
+ * Represents the converted Onos Event data into protobuf format.
  *
  */
 public class OnosEvent extends AbstractEvent<OnosEvent.Type, GeneratedMessage> {
@@ -38,6 +38,19 @@
      * List of Event Types supported.
      */
     public enum Type {
-        DEVICE, LINK;
+        /**
+         * Signifies Device events.
+         */
+        DEVICE("DEVICE"),
+
+        /**
+         * Signifies Link events.
+         */
+        LINK("LINK");
+        public String typeName;
+
+        Type(String name) {
+            typeName = name;
+        }
     }
 }