@@ -93,18 +93,12 @@ tool for local development and testing. Install it via the following:
9393
9494 confluent-hub install confluentinc/kafka-connect-datagen:0.6.0
9595
96- Next, in order to build and deploy the MarkLogic Kafka connector to Confluent Platform, modify ` confluentHome ` in
97- ` gradle-local.properties ` (create this file in the root of this project if it does not already exist) to point to
98- where you extracted the Confluent Platform distribution - e.g.:
96+ Then build and install the connector to the Confluent Platform indicated by your $CONFLUENT_HOME environment variable:
9997
100- confluentHome=/Users/myusername/confluent-7.4.0
101-
102- Then build and copy the connector to the Confluent Platform directory that you configured above:
103-
104- ./gradlew clean copyConnectorToConfluent
98+ ./gradlew clean installConnectorInConfluent
10599
106100Note that any time you modify the MarkLogic Kafka connector code, you'll need to repeat the
107- ` ./gradlew clean copyConnectorToConfluent ` step. Note that ` clean ` is included to ensure that in case you've changed
101+ ` ./gradlew clean installConnectorInConfluent ` step. Note that ` clean ` is included to ensure that in case you've changed
108102any connector dependencies, old dependencies will not be included in the connector archive.
109103
110104Next, start Confluent:
@@ -245,7 +239,7 @@ Platform will become unstable and no longer work. The [Confluent local docs](htt
245239make reference to this - "The data that are produced are transient and are intended to be temporary".
246240
247241It is thus advisable that after you copy a new instance of the MarkLogic Kafka connector into Confluent Platform (i.e.
248- by running ` ./gradlew copyConnectorToConfluent ` ), you should destroy your local Confluent Platform instance (this
242+ by running ` ./gradlew installConnectorInConfluent ` ), you should destroy your local Confluent Platform instance (this
249243will usually finish in around 15s):
250244
251245 ./gradlew destroyLocalConfluent
@@ -255,7 +249,7 @@ following (this will usually finish in around 1m):
255249
256250 ./gradlew setupLocalConfluent
257251
258- Remember that if you've modified the connector code, you'll first need to run ` ./gradlew copyConnectorToConfluent ` .
252+ Remember that if you've modified the connector code, you'll first need to run ` ./gradlew installConnectorInConfluent ` .
259253
260254Doing the above will provide the most reliable way to get a new and working instance of Confluent Platform with the
261255MarkLogic Kafka connector installed.
@@ -265,7 +259,7 @@ and one task starts with "setup"):
265259
266260 ./gradlew destroy setup
267261
268- You may have luck with simply doing ` confluent local services stop ` , ` ./gradlew copyConnectorToConfluent ` , and
262+ You may have luck with simply doing ` confluent local services stop ` , ` ./gradlew installConnectorInConfluent ` , and
269263` confluent local services start ` , but this has so far not worked reliably - i.e. one of the Confluent Platform
270264services (sometimes Schema Registry, sometimes Control Center) usually stops working.
271265
0 commit comments