Migrate to Confluent Platform¶
Migrating from Confluent Platform using only Confluent Community components¶
The migration path to Confluent Platform depends on how you originally installed Confluent Open Source download (5.0.x and earlier) or Confluent Community download (5.0.x and later).
DEB Packages via apt or RPM Packages via yum¶
The Confluent Platform packages are umbrella packages that contain everything in Confluent Platform using only Confluent Community components plus additional enterprise packages. You can install the additional enterprise packages in your existing community deployment by running:
sudo yum install confluent-platform
or
sudo apt-get install confluent-platform
TAR or ZIP archives¶
If you installed Confluent Platform using only Confluent Community components from TAR or ZIP archives, you must download and install a new Confluent Platform archive that contains the entire platform.
- Download the Confluent Platform TAR or ZIP archive from https://www.confluent.io/download/.
- Extract the contents of the archive into a new Confluent Platform install directory. For ZIP files, use a GUI to extract the contents or run this command in a terminal:
unzip confluent-7.1.13.zip
tar xzf confluent-7.1.13.tar.gz
- Copy all configuration files from
./etc
, including./etc/kafka
,./etc/kafka-rest
,./etc/schema-registry
, and./etc/confluent-control-center
into the new directory you created in previous step. - Stop all Apache Kafka® services running in the Confluent Platform using only Confluent Community components directory. Depending on what was running, this will include
kafka-rest
,schema-registry
,connect-distributed
,kafka-server
andzookeeper-server
. - Start the corresponding services in the Confluent Platform directory, and in addition start any new Enterprise services you wish you use - for example confluent-control-center.
- Repeat these steps on all Confluent servers, one server at a time, to perform rolling migration.
- If at any time you want to move back to Confluent Platform using only Confluent Community components, simply stop the services in the Confluent Platform installation directory and start them in the Confluent Platform using only Confluent Community components directory.
Migrating from Kafka¶
Download and install a new Confluent Platform archive that contains the entire platform.
Download the Confluent Platform TAR or ZIP archive from https://www.confluent.io/download/.
Extract the contents of the archive into a new Confluent Platform install directory. For ZIP files, use a GUI to extract the contents or run this command in a terminal:
unzip confluent-7.1.13.zip
For TAR files run this command:
tar xzf confluent-7.1.13.tar.gz
Copy all configuration files from
./etc
, including./etc/kafka
,./etc/kafka-rest
,./etc/schema-registry
, and./etc/confluent-control-center
into the new directory you created in previous step.Stop all Kafka services running in the Confluent Platform using only Confluent Community components directory. Depending on what was running, this will include
kafka-rest
,schema-registry
,connect-distributed
,kafka-server
andzookeeper-server
.Start the corresponding services in the Confluent Platform directory, and in addition start any new Enterprise services you wish you use, for example
confluent-control-center
.Repeat these steps on all Confluent servers, one server at a time, to perform rolling migration.
If at any time you want to move back to Apache Kafka®, simply stop the services in the Confluent Platform installation directory and start them in the Apache Kafka® directory.