Class SnowflakeTelemetryServiceV2
- java.lang.Object
-
- com.snowflake.kafka.connector.internal.telemetry.SnowflakeTelemetryService
-
- com.snowflake.kafka.connector.internal.streaming.telemetry.SnowflakeTelemetryServiceV2
-
public class SnowflakeTelemetryServiceV2 extends SnowflakeTelemetryService
This is the implementation of Telemetry Service for Snowpipe Streaming. Sends data related to Snowpipe Streaming to Snowflake for additional debugging purposes.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.snowflake.kafka.connector.internal.telemetry.SnowflakeTelemetryService
SnowflakeTelemetryService.TelemetryType
-
-
Field Summary
-
Fields inherited from class com.snowflake.kafka.connector.internal.telemetry.SnowflakeTelemetryService
IS_CHANNEL_CLOSING, IS_PIPE_CLOSING, telemetry
-
-
Constructor Summary
Constructors Constructor Description SnowflakeTelemetryServiceV2(Connection conn)Constructor for TelemetryService which is used by Snowpipe Streaming.SnowflakeTelemetryServiceV2(net.snowflake.client.jdbc.telemetry.Telemetry telemetry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description net.snowflake.client.jdbc.internal.fasterxml.jackson.databind.node.ObjectNodegetObjectNode()Get default object Node which will be part of every telemetry being sent to snowflake.-
Methods inherited from class com.snowflake.kafka.connector.internal.telemetry.SnowflakeTelemetryService
addUserConnectorPropertiesToDataNode, getDefaultObjectNode, reportKafkaConnectFatalError, reportKafkaConnectStart, reportKafkaConnectStop, reportKafkaPartitionStart, reportKafkaPartitionUsage, send, setAppName, setTaskID
-
-
-
-
Constructor Detail
-
SnowflakeTelemetryServiceV2
public SnowflakeTelemetryServiceV2(Connection conn)
Constructor for TelemetryService which is used by Snowpipe Streaming.- Parameters:
conn- Connection Object which gives the Telemetry Instance.
-
SnowflakeTelemetryServiceV2
public SnowflakeTelemetryServiceV2(net.snowflake.client.jdbc.telemetry.Telemetry telemetry)
-
-
Method Detail
-
getObjectNode
public net.snowflake.client.jdbc.internal.fasterxml.jackson.databind.node.ObjectNode getObjectNode()
Description copied from class:SnowflakeTelemetryServiceGet default object Node which will be part of every telemetry being sent to snowflake. Based on the underlying implementation, node fields might change.- Specified by:
getObjectNodein classSnowflakeTelemetryService- Returns:
- ObjectNode in Json Format
-
-