Enabling integrated Kafka custom operation processors (KCOP)
Integrated Kafka custom operation processors (KCOPs) run "out-of-the-box" with the CDC Replication Engine for Kafka. You can select them by simply referring to them in the User Exit context menu in Management Console.
About this task
You can use KCOPs to control the Kafka producer records that are written to Kafka topics in response to insert, update, and delete operations on source database tables. The CDC Replication Engine for Kafka provides integrated KCOPs for several use cases, including writing to topics in JSON, specifying user-defined topic names, and writing audit records. For more information, see Kafka custom operation processor (KCOP) for the CDC Replication Engine for Kafka.
- In Management Console, click .
- Select the subscription.
- Right-click the subscription and select Kafka Properties.
- Verify that Zookeeper is selected as the method for Kafka apply.
- Click OK.
- Right-click the subscription and select User Exit.
Enter values for Class Name and Parameter based
on the integrated Kafka custom operation processor that you want:
- Writes audit records in comma-separated values (CSV) format.
- Writes records in JSON format.
- Connects to a Confluent-compatible schema registry and writes to Kafka.
- Enables you to specify topic names and set up mappings between multiple source tables and target topics.
- Writes audit records in Avro format and registers the schema in a Confluent schema registry or a Hortonworks Schema Registry Service.
- Writes audit records in Avro format with before- and after-image records on the same row.
- Writes audit records in JSON format with before and after images in one row.
- Click OK.