com.dtsx.astra.sdk.db.domain.telemetry.SpecializedTelemetryClient Maven / Gradle / Ivy
package com.dtsx.astra.sdk.db.domain.telemetry;
import com.dtsx.astra.sdk.utils.ApiResponseHttp;
import com.dtsx.astra.sdk.utils.Assert;
import com.dtsx.astra.sdk.utils.HttpClientWrapper;
import com.dtsx.astra.sdk.utils.JsonUtils;
import com.fasterxml.jackson.core.type.TypeReference;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.net.HttpURLConnection;
import java.util.HashMap;
import java.util.Map;
import java.util.Optional;
/**
* Kafka Client.
*
* @param
* type of data
*/
public class SpecializedTelemetryClient {
/** Logger for our Client. */
private static final Logger LOGGER = LoggerFactory.getLogger(SpecializedTelemetryClient.class);
/** Load Database responses. */
private final TypeReference