How To
Summary
Steps to set up Kafka for integration
Environment
Steps



Setup 3 CQIN instances. For example, kafkacqin,kafkacqin1,kafkacqin2

kafkacqin has partition set to 0 and topic set to CQIN

kafkacqin1 has partition set to 1 and topic set to CQIN

kafkacqin2 has partition set to 2 and topic set to CQIN

Enter cqinerr as the TOPIC for the kafkacqinerr instance

Enter SQIN as the TOPIC for the SQIN instance
The sequential queue must have a partition value. The value is always 0.

Enter sqout as the TOPIC for the SQOUT instance

NOTE: Do not activate the KAFKAERROR crontask
5) Set the mxe.kafka.txtimeoutms system property to 900000 (15 minutes) to match the default value of transaction.max.timeout.ms in Kafka broker
Additional Information
Troubleshooting:
1)
Error while fetching metadata with collection id XXX : {Seqqout=UNKOWN_TOPIC_OR_PARTITION}
* The TOPIC for the Kafka cron instances needs to match with the Kafka queue name set in the Kafka broker.
2)
com.ibm.db2.jcc.am.SqlIntegrityConstraintViolationException: One or more values in the INSERT statement, UPDATE statement, or foreign key update caused by a DELETE statement are not valid because the primary key, unique constraint or unique index identified by "1" constrains table "MAXIMO.TASKSCHEDULER" from having duplicate values for the index key.. SQLCODE=-803, SQLSTATE=23505, DRIVER=4.32.28
* Delete the records from MAXINTMGSTRK, MAXINTMSGTRKDTL, TASKSCHEDULER tables
Related Information
Document Location
Worldwide
Product Synonym
TPAEKAFKA
Was this topic helpful?
Document Information
Modified date:
08 April 2024
UID
ibm17053293