com.snowflake.kafka.connector.internal.SnowflakeInternalOperations Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of snowflake-kafka-connector Show documentation
Show all versions of snowflake-kafka-connector Show documentation
Snowflake Kafka Connect Sink Connector
package com.snowflake.kafka.connector.internal;
/**
* Enum placeholders for internal operations. Useful mostly in logging and helps figure out where
* retries are happening.
*/
public enum SnowflakeInternalOperations {
/* Put api (uploadStream) for GCS */
UPLOAD_FILE_TO_INTERNAL_STAGE,
/* Put without connections API for AWS, Azure and GCS.
* In GCS, we will not reuse the credentials since we require presigned URL for every file.
* In AWS and Azure, we will cache the credential.
*/
UPLOAD_FILE_TO_INTERNAL_STAGE_NO_CONNECTION,
/* Broken records or (Failed ingestion files) or (files in internal stage for > 1 hour ) */
UPLOAD_FILE_TO_TABLE_STAGE,
/* Either because of a purge file since they were ingested in SF table or because they were moved to table stage */
REMOVE_FILE_FROM_INTERNAL_STAGE,
/* Snowpipe REST API Usage */
INSERT_FILES_SNOWPIPE_API,
INSERT_REPORT_SNOWPIPE_API,
LOAD_HISTORY_SCAN_SNOWPIPE_API,
FETCH_OAUTH_TOKEN
}