All Downloads are FREE. Search and download functionalities are using the official Maven repository.

datahub.client.MetadataWriteResponse Maven / Gradle / Ivy

There is a newer version: 1.0.0-beta2
Show newest version
package datahub.client;

import lombok.Builder;
import lombok.Value;


@Value
@Builder
public class MetadataWriteResponse {

  /**
   * True if the client send succeeded and we got a successful response from the server
   */
  @Builder.Default
  boolean success = true;

  /**
   * If the write failed due to an exception thrown by the server
   * and we have access to it, then we store the stack trace here
   */
  String responseContent;

  /**
   * The underlying response object
   * (typically an HTTPResponse or a kafka.ResponseMetadata)
   */
  Object underlyingResponse;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy