kafka-docker-playground icon indicating copy to clipboard operation
kafka-docker-playground copied to clipboard

Update playground to be compatible with CLI v4

Open vdesabou opened this issue 1 year ago • 0 comments

[8/15/2024] Confluent CLI v4.0.0 Release Notes

Breaking Changes

  • Remove confluent schema-registry cluster [delete | enable | upgrade] and confluent schema-registry region list commands
  • Remove confluent context create command
  • Remove the configuration and partition-replica lists from confluent kafka topic describe for on-premises; these lists are now available through new on-premises confluent kafka topic configuration list and confluent kafka replica list commands
  • Remove the configuration and partition-replica lists from confluent local kafka topic describe; topic configurations are available through a new confluent local kafka topic configuration list command
  • Rename confluent schema-registry exporter get-config to confluent schema-registry exporter configuration describe
  • Rename confluent schema-registry exporter get-status to confluent schema-registry exporter status describe
  • Rename confluent schema-registry compatibility validate to confluent schema-registry schema compatibility validate
  • Rename confluent schema-registry config to confluent schema-registry configuration
  • Rename confluent kafka topic describe to confluent kafka topic configuration list for Confluent Cloud
  • Rename confluent kafka replica list to confluent kafka replica status list
  • Rename confluent kafka broker describe to confluent kafka broker configuration list
  • Rename confluent kafka broker update to confluent kafka broker configuration update
  • Rename confluent local kafka broker describe to confluent local kafka broker configuration list
  • Rename confluent local kafka broker update to confluent local kafka broker configuration update
  • Rename confluent price list to confluent billing price list
  • Rename confluent admin [payment | promo] subcommands to confluent billing [payment | promo] subcommands
  • Rename confluent kafka broker get-tasks to confluent kafka broker task list and remove the --all flag; this functionality is now implicit when no broker ID is provided
  • Remove the --all flag from confluent kafka broker describe; this functionality has been moved to a new on-premises confluent kafka cluster configuration list command
  • Remove the --all flag from confluent kafka broker update; this functionality has been moved to a new on-premises confluent kafka cluster configuration update command
  • Remove deprecated --api-key and --api-secret flags from all confluent schema-registry commands
  • Remove the --context flag from confluent environment use, confluent flink region use, confluent service-account use, and confluent kafka cluster use
  • Remove the --environment from confluent flink region use and confluent kafka cluster use
  • Replace the --schema flag for confluent schema-registry schema compatibility validate with a required argument
  • Replace the --name flag for confluent kafka quota create with a required argument
  • Replace the --name flag for confluent schema-registry kek create with a required argument
  • Rename --organization-id to --organization for confluent login
  • Rename --group-id to --group for confluent asyncapi export
  • Rename --kms-key-id to --kms-key for confluent schema-registry kek create
  • Rename --deleted to --all for confluent schema-registry subject describe and confluent schema-registry subject list
  • Rename --aws-account-id to --aws-account for confluent stream-share consumer redeem
  • Rename --azure-subscription-id to --azure-subscription for confluent stream-share consumer redeem
  • Rename --gcp-project-id to --gcp-project for confluent stream-share consumer redeem
  • Rename --config-name to --config for confluent kafka broker describe and confluent local kafka broker describe
  • Rename --provider to --cloud for confluent byok commands
  • Rename --ca-location and --ca-cert-path to --certificate-authority-path for all commands which use these flags
  • The --subject flag is now required for confluent schema-registry schema compatibility validate
  • The --type flag is now required for confluent schema-registry schema compatibility validate for Confluent Cloud
  • The --config flag is now required for confluent kafka topic update
  • The --passphrase and --passphrase-new flags are now required for confluent secret file rotate and no longer accept pipes or files
  • The --passphrase flag is now required for confluent secret master-key generate and no longer accepts pipes or files
  • The --config flag for confluent secret file add, confluent secret file remove, and confluent secret file update no longer accepts pipes or files
  • The broker ID is now a required argument for confluent kafka broker list and confluent kafka broker update
  • The API key and secret are now required arguments for confluent api-key store
  • Remove "Cloud Name" (human) and "cloud_name" (serialized) from the output of confluent kafka region list
  • Remove "Read-Only" (human) and "read_only" (serialized) from the output of confluent configuration commands
  • Rename "Name" to "ID" (human) and "name" to "id" (serialized) in the output of confluent plugin search; a new "Name" (human) and "name" (serialized) field has been added in its place
  • Rename "Kafka" to "Kafka Cluster" (human) and "kafka" to "kafka_cluster" (serialized) in the output of confluent ksql cluster commands
  • Rename "Schema Registry Secret" to "Schema Registry API Secret" (human) and "schema_registry_secret" to "schema_registry_api_secret" (serialized) in the output of confluent stream-share consumer redeem
  • Rename "Resource Display Name" to "Resource Name" (human) and "resource_display_name" to "resource_name" (serialized) in the output of confluent billing cost list
  • Rename "Provider" to "Cloud" (human) and "provider" to "cloud" (serialized) in the output of confluent kafka cluster describe
  • Rename "Service Provider" to "Cloud" (human) and "service_provider" to "cloud" (serialized) in the output of confluent kafka cluster list
  • Rename "Service Provider Region" to "Region" (human) and "service_provider_region" to "region" (serialized) in the output of confluent kafka cluster list
  • Rename "Schema ID" to "ID" (human) and "schema_id" to "id" (serialized) in the output of schema-registry schema list
  • Rename "Region Name" to "Name" (human) and "region_name" to "name" (serialized) in the output of "confluent kafka region list"
  • Rename "Region ID" to "Region" (human) and "region_id" to "region" (serialized) in the output of "confluent kafka region list"
  • Rename "Cloud ID" to "Cloud" (human) and "cloud_id" to "cloud" (serialized) in the output of "confluent kafka region list"
  • Rename "Resource ID" and "Environment ID" to "Resource" and "Environment" (human) and "resource_id" and "environment_id" to "resource" and "environment" (serialized) in the output of confluent billing cost list
  • Rename "Broker ID" to "Broker" (human) and "broker_id" to "broker" (serialized) in the output of confluent broker task list
  • Rename "Partition ID", "Cluster ID" and "Leader ID" to "ID", "Cluster" and "Leader" (human) and "partition_id", "cluster_id" and "leader_id" to "id", "cluster" and "leader" (serialized) in the output of confluent kafka partition [describe | list]
  • Rename "Private Link Attachment ID" to "Private Link Attachment" (human) and "private_link_attachment_id" to "private_link_attachment" (serialized) in the output of confluent network private-link attachment connection commands
  • Rename "Task ID" to "Task" (human) and "task_id" to "task" (serialized) in the output of confluent connect cluster describe
  • Rename "Plugin ID" and "Version ID" to "ID" and "Version" (human) and "plugin_id" and "version_id" to "plugin" and "version" (serialized) in the output of confluent flink artifact commands
  • Rename "Partition ID" to "Partition" (human) and "partition_id" to "partition" (serialized) in the output of confluent kafka partition reassignment list
  • Rename "ingress" and "egress" to "ingress_limit" and "egress_limit" in the serialized output of confluent kafka cluster commands
  • Rename "kafka_cluster_id" to "kafka_cluster" in the serialized output of confluent iam acl commands
  • Rename "cluster_id" to "cluster" in the serialized output of confluent broker task list
  • Rename "cluster_id" and "consumer_group_id" to "cluster" and "consumer_group" in the serialized output of confluent kafka consumer group [describe | list]
  • Rename "cluster_id", "consumer_group_id", "consumer_id", "instance_id", "client_id", and "partition_id" to "cluster", "consumer_group", "consumer", "instance", "client", and "partition" in the serialized output of confluent kafka consumer group lag [describe | list]
  • Rename "owner_id" and "resource_id" to "owner" and "resource" in the serialized output of confluent api-key [describe | list]
  • Rename "cluster_id", "environment_id", and "service_account_id" to "cluster", "environment", and "service_account" in the serialized output of confluent audit-log describe
  • Rename "cluster_id", "environment_id", and "service_account_id" to "cluster", "environment", and "service_account" in the serialized output of confluent connect event describe
  • Rename "source_cluster_id", "destination_cluster_id", and "remote_cluster_id" to "source_cluster", "destination_cluster", and "remote_cluster" in the serialized output of confluent kafka link [describe | list]
  • Rename "cluster_id", "consumer_group_id", "max_lag_consumer_id", "max_lag_instance_id", "max_lag_client_id", and "max_lag_partition_id" to "cluster", "consumer_group", "max_lag_consumer", "max_lag_instance", "max_lag_client", and "max_lag_partition" in the serialized output of confluent kafka consumer group lag summarize
  • Rename "cluster_id" to "cluster" in the serialized output of confluent kafka partition [describe | list]
  • Rename "cluster_id", "partition_id", and "broker_id" to "cluster", "partition", and "broker" in the serialized output of confluent kafka replica list
  • Rename "cluster_id" to "cluster" in the serialized output of confluent schema-registry cluster describe
  • Rename "cluster_id" to "cluster" in the serialized output of confluent kafka partition reassignment list
  • Rename "environment_id" to "environment" in the serialized output of confluent network commands
  • Rename "plugin_name" and "plugin_id" to "name" and "id" in the serialized output of confluent plugin list
  • Rename "consumer_group_id", "consumer_id", "instance_id", and "client_id" to "consumer_group", "consumer", "instance", and "client" in the serialized output of confluent kafka consumer list
  • The field "Network Zonal Subdomains" (human) and "network_zonal_subdomains" (serialized) in the output of confluent stream-share consumer redeem and confluent stream-share consumer share describe is now a map
  • The field "subtask_statuses" in the serialized output of confluent kafka broker task list is now a map
  • The field "config" in the serialized output of confluent schema-registry exporter describe is now a map
  • The field "kms_properties" in the serialized output of confluent schema-registry kek commands is now a map
  • The field principals in the serialized output of confluent kafka quota commands is now an array
  • The field "network_zones" in the serialized output of confluent stream-share consumer redeem and confluent stream-share consumer share describe is now an array
  • The field "Error Trace" (human) and "error_trace" (serialized) in the output of confluent schema-registry exporter status describe is now omitted when it is empty
  • The field "topic_count" in the serialized output of confluent kafka cluster describe is now omitted when it is empty
  • Remove unused "disable_updates", "anonymous_id", "no_browser", and "ver" configuration fields
  • Rename the Windows-only configuration field "update_plugins_once" to "update_plugins_once_windows"
  • Legacy on-premises contexts are no longer supported; the Certificate Authority path must now be provided by flag or environment variable
  • The following deprecated environment variables are no longer supported: "CCLOUD_EMAIL", "CCLOUD_PASSWORD", "CONFLUENT_USERNAME", "CONFLUENT_PASSWORD", "CONFLUENT_MDS_URL", and "CONFLUENT_CA_CERT_PATH"
  • Rename the CONFLUENT_PLATFORM_CA_CERT_PATH environment variable to CONFLUENT_PLATFORM_CERTIFICATE_AUTHORITY_PATH
  • confluent logout now revokes the refresh token when logging out of Confluent Cloud
  • Saved credentials will no longer be read from the .netrc file
  • CLI text highlighting is now enabled by default for new users
  • All confirmation prompts for resource delete and undelete commands are now yes/no prompts
  • The confluent login command will no longer automatically log in using saved credentials in the keychain or configuration file
  • On-premises login with confluent login will now print the confirmation code to the terminal and ask the user to confirm before opening a browser

vdesabou avatar Aug 21 '24 09:08 vdesabou