rmoff's random ramblings
about talks

OGG - Class not found: “com.company.kafka.CustomProducerRecord”

Published Jul 28, 2016 by in Ogg, Goldengate, Apache Kafka at https://rmoff.net/2016/07/28/ogg-class-not-found-com.company.kafka.customproducerrecord/

In the documentation for the current release of Oracle GoldenGate for Big Data (12.2.0.1.1.011) there’s a helpful sample configuration, which isn’t so helpful …

[...]
gg.handler.kafkahandler.ProducerRecordClass = com.company.kafka.CustomProducerRecord
[...]

This value for gg.handler.kafkahandler.ProducerRecordClass will cause a failure when you start the replicat:

[...]
Class not found: "com.company.kafka.CustomProducerRecord"
[...]

If you comment this configuration item out, it’ll use the default (oracle.goldengate.handler.kafka.DefaultProducerRecord) and work swimingly!


(Image credit: https://unsplash.com/@vanschneider)


Robin Moffatt

Robin Moffatt works on the DevRel team at Confluent. He likes writing about himself in the third person, eating good breakfasts, and drinking good beer.

Story logo

© 2025