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
fix: avoid dead-locking the SourceTask if all commits aren't received (#51)
* chore: comment updates - no functional changes
Fixed some weird line-wrapping in the existing comments, edited
comments that were technically inaccurate, and added some extra
clarification to comments ahead of changes in the next commit.
Signed-off-by: Dale Lane <dale.lane@uk.ibm.com>
* test: new unit tests that illustrate desired behaviour
poll() should quickly return an empty list if we are still waiting
for a previous batch to complete, but throw an exception if this
happens too many times.
Signed-off-by: Dale Lane <dale.lane@uk.ibm.com>
* fix: avoid deadlocking poll calls when commitRecord isnt called
Signed-off-by: Dale Lane <dale.lane@uk.ibm.com>
* chore: prepare new release
I also removed an invalid config option that was included in the
pom.xml at some point.
Signed-off-by: Dale Lane <dale.lane@uk.ibm.com>
* feat: Address review comments
Contributes to: event-integration/eventstreams-planning#0
Signed-off-by: Joel Hanson <joel.hanson2@ibm.com>
* fix: Update kafka connect-api and connect-json version
Contributes to: event-integration/eventstreams-planning#0
Signed-off-by: Joel Hanson <joel.hanson2@ibm.com>
---------
Signed-off-by: Dale Lane <dale.lane@uk.ibm.com>
Signed-off-by: Joel Hanson <joel.hanson2@ibm.com>
Co-authored-by: Joel Hanson <joel.hanson2@ibm.com>
| topic | The name of the target Kafka topic | string || Topic name |
283
-
| mq.queue.manager | The name of the MQ queue manager | string || MQ queue manager name |
284
-
| mq.connection.mode | The connection mode - bindings or client | string | client | client, bindings |
285
-
| mq.connection.name.list | List of connection names for queue manager | string || host(port)[,host(port),...]|
286
-
| mq.channel.name | The name of the server-connection channel | string || MQ channel name |
287
-
| mq.queue | The name of the source MQ queue | string || MQ queue name |
288
-
| mq.exactly.once.state.queue | The name of the MQ queue used to store state when running with exactly-once semantics | string || MQ state queue name |
289
-
| mq.user.name | The user name for authenticating with the queue manager | string || User name |
290
-
| mq.password | The password for authenticating with the queue manager | string || Password |
291
-
| mq.user.authentication.mqcsp | Whether to use MQ connection security parameters (MQCSP) | boolean | true ||
292
-
| mq.ccdt.url | The URL for the CCDT file containing MQ connection details | string || URL for obtaining a CCDT file |
293
-
| mq.record.builder | The class used to build the Kafka Connect record | string || Class implementing RecordBuilder |
294
-
| mq.message.body.jms | Whether to interpret the message body as a JMS message type | boolean | false ||
295
-
| mq.record.builder.key.header | The JMS message header to use as the Kafka record key | string || JMSMessageID, JMSCorrelationID, JMSCorrelationIDAsBytes, JMSDestination |
296
-
| mq.jms.properties.copy.to.kafka.headers | Whether to copy JMS message properties to Kafka headers | boolean | false ||
297
-
| mq.ssl.cipher.suite | The name of the cipher suite for TLS (SSL) connection | string || Blank or valid cipher suite |
298
-
| mq.ssl.peer.name | The distinguished name pattern of the TLS (SSL) peer | string || Blank or DN pattern |
299
-
| mq.ssl.keystore.location | The path to the JKS keystore to use for SSL (TLS) connections | string | JVM keystore | Local path to a JKS file |
300
-
| mq.ssl.keystore.password | The password of the JKS keystore to use for SSL (TLS) connections | string |||
301
-
| mq.ssl.truststore.location | The path to the JKS truststore to use for SSL (TLS) connections | string | JVM truststore | Local path to a JKS file |
302
-
| mq.ssl.truststore.password | The password of the JKS truststore to use for SSL (TLS) connections | string |||
303
-
| mq.ssl.use.ibm.cipher.mappings | Whether to set system property to control use of IBM cipher mappings | boolean |||
304
-
| mq.batch.size | The maximum number of messages in a batch (unit of work) | integer | 250 | 1 or greater |
305
-
| mq.message.mqmd.read | Whether to enable reading of all MQMD fields | boolean | false ||
280
+
| Name | Description | Type | Default | Valid values |
| topic | The name of the target Kafka topic | string || Topic name |
283
+
| mq.queue.manager | The name of the MQ queue manager | string || MQ queue manager name |
284
+
| mq.connection.mode | The connection mode - bindings or client | string | client | client, bindings |
285
+
| mq.connection.name.list | List of connection names for queue manager | string || host(port)[,host(port),...]|
286
+
| mq.channel.name | The name of the server-connection channel | string || MQ channel name |
287
+
| mq.queue | The name of the source MQ queue | string || MQ queue name |
288
+
| mq.exactly.once.state.queue | The name of the MQ queue used to store state when running with exactly-once semantics | string || MQ state queue name |
289
+
| mq.user.name | The user name for authenticating with the queue manager | string || User name |
290
+
| mq.password | The password for authenticating with the queue manager | string || Password |
291
+
| mq.user.authentication.mqcsp | Whether to use MQ connection security parameters (MQCSP) | boolean | true ||
292
+
| mq.ccdt.url | The URL for the CCDT file containing MQ connection details | string || URL for obtaining a CCDT file |
293
+
| mq.record.builder | The class used to build the Kafka Connect record | string || Class implementing RecordBuilder |
294
+
| mq.message.body.jms | Whether to interpret the message body as a JMS message type | boolean | false ||
295
+
| mq.record.builder.key.header | The JMS message header to use as the Kafka record key | string || JMSMessageID, JMSCorrelationID, JMSCorrelationIDAsBytes, JMSDestination |
296
+
| mq.jms.properties.copy.to.kafka.headers | Whether to copy JMS message properties to Kafka headers | boolean | false ||
297
+
| mq.ssl.cipher.suite | The name of the cipher suite for TLS (SSL) connection | string || Blank or valid cipher suite |
298
+
| mq.ssl.peer.name | The distinguished name pattern of the TLS (SSL) peer | string || Blank or DN pattern |
299
+
| mq.ssl.keystore.location | The path to the JKS keystore to use for SSL (TLS) connections | string | JVM keystore | Local path to a JKS file |
300
+
| mq.ssl.keystore.password | The password of the JKS keystore to use for SSL (TLS) connections | string |||
301
+
| mq.ssl.truststore.location | The path to the JKS truststore to use for SSL (TLS) connections | string | JVM truststore | Local path to a JKS file |
302
+
| mq.ssl.truststore.password | The password of the JKS truststore to use for SSL (TLS) connections | string |||
303
+
| mq.ssl.use.ibm.cipher.mappings | Whether to set system property to control use of IBM cipher mappings | boolean |||
304
+
| mq.batch.size | The maximum number of messages in a batch (unit of work) | integer | 250 | 1 or greater |
305
+
| mq.message.mqmd.read | Whether to enable reading of all MQMD fields | boolean | false ||
306
+
| mq.max.poll.blocked.time.ms | How long the connector will wait for the previous batch of messages to be delivered to Kafka before starting a new poll | integer | 2000 | It is important that this is less than the time defined for `task.shutdown.graceful.timeout.ms` as that is how long connect will wait for the task to perform lifecycle operations. |
0 commit comments