Skip to main content
Alters the connection parameters of an existing data sink.
ALTER DATA SINK Syntax
Kafka data sinks will be validated upon creation, by default, and will fail to be created if an authorized connection cannot be established.

Parameters

EXTERNAL

Optional keyword for clarity

<schema name>

Name of the schema containing the data sink to alter

<data sink name>

Name of the data sink to alter

SET PROPERTY

Indicator that a comma-delimited list of alterations to make will follow.See Set Properties for the complete list of properties.

Examples

To alter a data sink, kin_dsink, updating the timeouts:
ALTER DATA SINK Example

Set Properties

All data sink properties can be altered via ALTER DATA SINK. The following are the property names and descriptions to use when performing an alteration.

CREDENTIAL

Consumer: AnyCredential object to use to authenticate to the remote consumer

LOCATION

Consumer: AnyLocation of the data sink; see Consumer-Specific Syntax for details

VALIDATE

Consumer: AnyWhether to test the connection to the data sink upon creation; if TRUE (default), the creation of a data sink that cannot be connected to will fail; if FALSE, the data sink will be created regardless of connectivity

WAIT TIMEOUT

Consumer: Any except JDBCTimeout in seconds for reading from the consumer

CONNECTION TIMEOUT

Consumer: Any except JDBCTimeout in seconds for connecting to a consumer

USE_HTTPS

Consumer: AZURE, GCS, S3Whether to connect to the storage provider over HTTPS or not
ValueDescription
trueUse HTTPS (default)
falseUse HTTP

USE_MANAGED_CREDENTIALS

Consumer: AZURE, GCS, S3Whether to connect to the storage provider with consumer-managed credentials
ConsumerNotes
AZUREUse the Azure Instance Metadata Service (IMDS) endpoint local to the Kinetica cluster to acquire credentials (only for on-prem clusters deployed within Azure)
GCSSatisfy the Application Default Credentials requirements for credentials, making sure any supporting server-side configuration (files, environment variables) is done on every node in the cluster (only for on-prem clusters deployed within GCS)
S3Use the AWS Default Credential Provider Chain to acquire credentials, making sure any supporting server-side configuration (files, environment variables) is done on every node in the cluster (only for on-prem clusters deployed within S3)

KAFKA_TOPIC_NAME

Consumer: KAFKAKafka topic to write to

JSON_FORMAT

Consumer: HTTP, HTTPS, KAFKAThe desired format of JSON encoded notifications message.
TypeDescription
flatA single record is returned per message
nestedRecords are returned in an array per message

MAX_BATCH_SIZE

Consumer: HTTP, HTTPS, KAFKAMaximum number of records per notification message

MAX_MESSAGE_SIZE

Consumer: HTTP, HTTPS, KAFKAMaximum size in bytes of each notification message

CONTAINER NAME

Consumer: AZUREAzure storage container name

SAS TOKEN

Consumer: AZUREAzure storage account shared access signature token; this should be an account-level access token, not a container-level one

STORAGE ACCOUNT NAME

Consumer: AZUREAzure storage account name (only used if TENANT ID is specified)

TENANT ID

Consumer: AZUREAzure Active Directory tenant identifier

GCS_BUCKET_NAME

Consumer: GCSName of the GCS bucket to use as the data sink

GCS_PROJECT_ID

Consumer: GCSName of the Google Cloud project to use for request billing

GCS_SERVICE_ACCOUNT_KEYS

Consumer: GCSText of the JSON key file containing the GCS private key

DELEGATION TOKEN

Consumer: HDFSOptional Kerberos delegation token for worker nodes; if not specified, the token will be acquired from HDFS

KERBEROS KEYTAB

Consumer: HDFSLocation of the Kerberos keytab file in KiFS

USE KERBEROS

Consumer: HDFSWhether to attempt Kerberos authentication to HDFS

JDBC_DRIVER_CLASS_NAME

Consumer: JDBCJDBC driver class name (optional, if the name is available in the JAR file’s manifest)

JDBC_DRIVER_JAR_PATH

Consumer: JDBCKiFS path of the JDBC driver JAR file to use

BUCKET NAME

Consumer: S3Amazon S3 bucket name

REGION

Consumer: S3Amazon S3 region identifier

S3_AWS_ROLE_ARN

Consumer: S3Amazon Resource Name (ARN) specifying the role

S3_ENCRYPTION_CUSTOMER_ALGORITHM

Consumer: S3Algorithm used to encrypt/decrypt data

S3_ENCRYPTION_CUSTOMER_KEY

Consumer: S3Key used to encrypt/decrypt data

S3_ENCRYPTION_TYPE

Consumer: S3Server side encryption type

S3_KMS_KEY_ID

Consumer: S3KMS key

S3_USE_VIRTUAL_ADDRESSING

Consumer: S3Whether to use virtual addressing when referencing the S3 sink
ValueDescription
trueThe requests URI should be specified in virtual-hosted-style format where the bucket name is part of the domain name in the URL
falseUse path-style URI for requests

S3_VERIFY_SSL

Consumer: S3Whether to verify SSL connections
ValueDescription
trueVerify SSL connections (default)
falseDon’t verify SSL connections; for testing purposes, bypassing TLS errors, self-signed certificates, etc.