Skip to Main Content

GoldenGate

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Error Conversion Number To String (OGG-Handler-Kafka 12.3.0.1)

3309490Sep 13 2018 — edited Oct 12 2018

Hi everyone,

I'm using OGG to send data from source Oracle DB to Kafka queue with Avro Serialization.

We need to convert number to string and then in avro definition we define this conversions.

For example:Source: Number; Avro definition: String;

When we send the message the number less than zero, the value is truncated.

For example: the value on DB is 0.007, the value on Kafka is .007, I'd like the number to be 0.007

How we can change the value?

We tried the function @strnum but doesn't works.

Can you help me?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 9 2018
Added on Sep 13 2018
7 comments
349 views