class DatadogTransportSerializer implements TransportSerializer {

  @Override
  public byte[] serialize(InternalEvent event) {
    StringBuilder payload = new StringBuilder();
    payload.append(apiKey);
    payload.append(' ');
    payload.append(event.getSerialized());
    payload.append('\n');
    return payload.toString().getBytes();
  }

    DatadogTransportSerializer(ValueConfig<?> apiKey);

}