confluent flink artifact version create
Description
Upload a new version of a Flink artifact in Confluent Platform. If the uploaded content is identical to the latest version, the artifact is left unchanged and no new version is created.
confluent flink artifact version create <name> [flags]
Flags
--environment string REQUIRED: Name of the Flink environment.
--artifact-file string REQUIRED: Path to the Flink artifact JAR or ZIP file.
--url string Base URL of the Confluent Manager for Apache Flink (CMF). Environment variable "CONFLUENT_CMF_URL" may be set in place of this flag.
--client-key-path string Path to client private key for mTLS authentication. Environment variable "CONFLUENT_CMF_CLIENT_KEY_PATH" may be set in place of this flag.
--client-cert-path string Path to client cert to be verified by Confluent Manager for Apache Flink. Include for mTLS authentication. Environment variable "CONFLUENT_CMF_CLIENT_CERT_PATH" may be set in place of this flag.
--certificate-authority-path string Path to a PEM-encoded Certificate Authority to verify the Confluent Manager for Apache Flink connection. Environment variable "CONFLUENT_CMF_CERTIFICATE_AUTHORITY_PATH" may be set in place of this flag.
-o, --output string Specify the output format as "human", "json", or "yaml". (default "human")
Global Flags
-h, --help Show help for this command.
--unsafe-trace Equivalent to -vvvv, but also log HTTP requests and responses which might contain plaintext secrets.
-v, --verbose count Increase verbosity (-v for warn, -vv for info, -vvv for debug, and -vvvv for trace).
Examples
Upload the file “my-udf-2.0.jar” as a new version of Flink artifact “my-udf.jar” in the environment “my-environment”.
confluent flink artifact version create my-udf.jar --artifact-file my-udf-2.0.jar --environment my-environment
See Also
confluent flink artifact version - Manage versions of a Flink artifact in Confluent Platform.