You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If using the Source Connector and ordering of the events are important then the Transactional Event Queue that the Kakfa Source connector will be pulling from should have
60
-
the `STICKY_DEQUEUE` parameter set. The `tasks.max` property should also correspond to the number of `SHARD_NUM` assigned to the queue.
59
+
**If using the Source Connector and ordering of the events are important then the Transactional Event Queue that the Kakfa Source connector will be pulling from should have the `STICKY_DEQUEUE` parameter set. The `SHARD_NUM` assigned to the queue should be less than or equal to the number of Kafka partitions assigned to the Kafka topic.**
60
+
61
+
**Note: If running on a database version less than 23.4 with `STICKY_DEQUEUE` the `tasks.max` value must be equal to the `SHARD_NUM` specified. If the `tasks.max` is not equal to the `SHARD_NUM` dequeue from all event streams will not be performed.**
# If using event streams and ordering of the events is important the number of tasks
184
-
# set for this property should be same number of event streams used for the transactional
185
-
# event queue.
184
+
# If the transactional event queue has STICKY_DEQUEUE set and running on a database version less than 23.4
185
+
# the tasks.max number specified must be equal to the number of event streams (SHARD_NUM) for the queue.
186
+
# If the `tasks.max` is not equal to the event streams (SHARD_NUM) dequeue from all event streams will not be performed when
187
+
# using a database with a version less than 23.4.
186
188
tasks.max=1
187
189
188
190
# The maximum number of messages in a batch. The default batch size is 1024.
@@ -259,13 +261,18 @@ In another command prompt start the Kafka server by running the following comman
259
261
```
260
262
261
263
In the third command prompt start the connector in either standalone (connect-standalone.bat) or distributed (connect-distributed.bat) mode by running the following command.
262
-
The command below is connecting in standalone mode. If connecting is distributed mode replace the bat file with the connect-distributed.bat file. If you want to run the source
263
-
connector replace the properties file below with the properties file for the source connector.
264
+
The command below is connecting in standalone mode. If you want to run the source connector replace the properties file below with the properties file for the source connector.
In the third terminal start the connector in either standalone (connect-standalone.sh) or distributed (connect-distributed.sh) mode by running the following command.
284
-
The command below is connecting in standalone mode. If connecting is distributed mode replace the bat file with the connect-distributed.sh file. If you want to run the source
285
-
connector replace the properties file below with the properties file for the source connector.
291
+
The command below is connecting in standalone mode. If you want to run the source connector replace the properties file below with the properties file for the source connector.
Copy file name to clipboardExpand all lines: connectors/src/main/java/oracle/jdbc/txeventq/kafka/connect/source/utils/TxEventQConnectorConfig.java
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -79,6 +79,11 @@ public class TxEventQConnectorConfig extends AbstractConfig {
79
79
privatestaticfinalStringTASK_BATCH_SIZE_DOC = "The maximum number of records that a connector task may read from the Oracle TxEventQ broker before writing to Kafka. The task holds these records until they are acknowledged in Kafka, so this may affect memory usage.";
0 commit comments