Class EventUtils

java.lang.Object
io.confluent.telemetry.events.EventUtils

public class EventUtils extends Object
  • Constructor Details

    • EventUtils

      public EventUtils()
  • Method Details

    • toCloudEvent

      public static io.cloudevents.CloudEvent toCloudEvent(io.confluent.telemetry.api.events.Event e)
    • toJson

      public static String toJson(io.confluent.telemetry.api.events.Event event)
    • toJson

      public static String toJson(io.cloudevents.CloudEvent event)
    • protoToBytes

      public static byte[] protoToBytes(com.google.protobuf.Message data, String dataContentType)