Important
You are viewing documentation for an older version of Confluent Platform. For the latest, click here.
Migrating from Open Source to Enterprise¶
Migrating from Confluent Open Source¶
The migration path to Confluent Enterprise depends on how you originally installed Confluent Open Source.
DEB Packages via apt or RPM Packages via yum¶
The Confluent Enterprise packages are umbrella packages that contain everything in Confluent Open Source plus additional enterprise packages. You can install the additional enterprise packages in your existing open source deployment by running:
$ sudo yum install confluent-platform-2.11
or
$ sudo apt-get install confluent-platform-2.11
TAR or ZIP archives¶
If you installed Confluent Open Source from TAR or ZIP archives, you must download and install a new Confluent Enterprise archive that contains the entire platform.
- Download the Confluent Enterprise TAR or ZIP archive from https://confluent.io/downloads/.
- 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-4.1.3-2.11.zip
For TAR files run this command:
$ tar xzf confluent-4.1.3-2.11.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 Open Source directory. Depending on what was running, this will include kafka-rest, schema-registry, connect-distributed, kafka-server and zookeeper-server.
- Start the corresponding services in the Confluent Enterprise 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 Open Source, simply stop the services in the Confluent Enterprise installation directory and start them in the Confluent Open Source directory.
Migrating from Apache Kafka¶
Download and install a new Confluent Enterprise archive that contains the entire platform.
- Download the Confluent Enterprise TAR or ZIP archive from https://confluent.io/downloads/.
- 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-4.1.3-2.11.zip
For TAR files run this command:
tar xzf confluent-4.1.3-2.11.tar.gz
- Copy all configuration files from
./etc/kafka
into the new directory you created in previous step. - Stop all Kafka services running in Apache Kafka directory. Depending on what was running, this will include connect-distributed, kafka-server and zookeeper-server.
- Start the corresponding services in the Confluent Enterprise 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 Enterprise installation directory and start them in the Apache Kafka directory.