Class SpecializedTelemetryClient<T>

java.lang.Object
com.dtsx.astra.sdk.db.domain.telemetry.SpecializedTelemetryClient<T>

public class SpecializedTelemetryClient<T> extends Object
Kafka Client.
  • Constructor Details

    • SpecializedTelemetryClient

      public SpecializedTelemetryClient(String token, String telemetryEndpoint, String key)
      Default constructor.
      Parameters:
      token - token client
      telemetryEndpoint - endpoint
  • Method Details

    • setup

      public ApiResponseHttp setup(T ktr)
      Configure Astra Remote Telemetry.
      Parameters:
      ktr - config request
      Returns:
      http response
    • find

      public Optional<T> find()
      Retrieve Remote Telemetry configuration https://docs.datastax.com/en/astra/docs/_attachments/devopsv2.html#operation/getTelemetryConfig
      Returns:
      telemetry request