Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"price_per_unit" field of the "purchases" quickstart not deserializing correctly #100

Open
chuck-confluent opened this issue Feb 26, 2022 · 3 comments

Comments

@chuck-confluent
Copy link

I was just running datagen from Confluent Cloud today and noticed something odd. The price_per_unit field of the purchases data was showing values like

\t\u00f5

and

\u0007\u00B1

I looked up the unicode characters and they're just weird characters. Not sure what's going on.

@chuck-confluent
Copy link
Author

This was with AVRO value format and confluent CLI version 2.5.0

@ybyzek
Copy link
Contributor

ybyzek commented Feb 26, 2022

Please see https://github.com/confluentinc/kafka-connect-datagen/blob/master/config/connector_purchases.config#L10, a config parameter that should display the price_per_unit field properly and was validated locally. PR where this was discussed: #89 . I don't know if this config parameter is accepted for Datagen in CCloud.

@chuck-confluent
Copy link
Author

chuck-confluent commented Feb 27, 2022

It is not accepted in Confluent Cloud for avro value format. There is a parameter like this for json value format, but not for avro. Screenshot:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants