Reading AVRO file through java and passing as JSON

225 Views Asked by At

Ask is GoldenGate will push(Kafka) AVRO file ,need to read that and convert into JSON form push to google spanner.(New to AVRO ,google spanner) Seeking how to start with that?

1

There are 1 best solutions below

1
On

Typically integration with Kafka and other systems is achieved using Kafka Connect. GoldenGate supports the Kafka Connect handler. I'm not aware of a connector for Google Spanner, so maybe you'd need to write one. Kafka Connect can convert from source serialisation (e.g. Avro) to target (e.g. JSON), an example of this can be found in the Kafka Connect S3 connector's format.class