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
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -308,6 +308,7 @@ The configuration options for the Kafka Connect source connector for IBM MQ are
308
308
|`mq.message.receive.timeout`| The timeout (in milliseconds) for receiving messages from the queue manager before returning to Kafka Connect. | long | 2000 | 1 or greater |
309
309
|`mq.reconnect.delay.min.ms`| The minimum delay (in milliseconds) for reconnecting to the queue manager after a connection error. | long | 64 | 1 or greater |
310
310
|`mq.reconnect.delay.max.ms`| The maximum delay (in milliseconds) for reconnecting to the queue manager after a connection error. | long | 8192 | 1 or greater |
311
+
|`mq.receive.max.poll.time.ms`| Maximum time (in milliseconds) to poll messages in a single Kafka Connect task cycle. If set to 0, polling continues until batch size or a receive returns null. | long | 0 | 0 or greater |
311
312
|`errors.deadletterqueue.topic.name`| The name of the Kafka topic to use as the dead letter queue (DLQ) for poison messages that fail during processing within the record builder component of the connector. | string || If left blank (default), failed messages will not be written to a DLQ. |
312
313
|`errors.deadletterqueue.context.headers.enable`| Whether to add error context headers to messages written to the DLQ. | boolean | false | When enabled, additional headers describing the error will be included with each DLQ record. |
publicstaticfinalStringCONFIG_DOCUMENTATION_MAX_POLL_TIME = "Maximum time (in milliseconds) to spend polling messages before returning a batch to Kafka. "
192
-
+ "If not set or set to 0, polling continues until batch size or receive timeout conditions are met.";
191
+
publicstaticfinalStringCONFIG_DOCUMENTATION_MAX_POLL_TIME = "Maximum time (in milliseconds) to poll for messages during a single Kafka Connect poll cycle. "
192
+
+ "Acts as a hard upper bound on how long the task will try to accumulate a batch. "
193
+
+ "If set to 0 or not defined, polling continues until either a message receive returns null or the batch size is met. "
194
+
+ "Note: It is recommended to keep this value less than or equal to both 'mq.message.receive.timeout' "
195
+
+ "and 'mq.receive.subsequent.timeout.ms' to avoid unexpected delays due to long blocking receive calls.";
193
196
publicstaticfinalStringCONFIG_DISPLAY_MAX_POLL_TIME = "Max poll time (ms)";
0 commit comments