-
Notifications
You must be signed in to change notification settings - Fork 64
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
examples #2
Comments
Hello,
To register a new schema you do something like: |
Thank you for the answer. |
There are small example schemas in the schema-registry quickstart: |
thanks for your reply. Angelo |
The kafka-serdes-avro-console-producer.cpp example converts a JSON document to an Avro object (also called GenericDatum) here: which is then serialized and produced here: For other forms of Avro object instantiations I suggest looking at the avrocpp documentation here: |
Hi, but what I don't understand is: is it necessary to use the schema-registry? Or can I use the kafka-serdes-avro-console-producer.cpp without the schema registry?
Thank you very much |
Hi, sorry for this long list of messages,
Why I have the error? |
The JSON message you are trying to produce is invalid: rawdata should be followed by |
I'm also testing the examples, and I get the following:
If I then type
I get |
This schema: |
Hi, i use below command to run example enter:str: {"f1":"value2", "f2":"value3"} ./serdes-kafka-avro-client -C -b 10.202.8.11:40301 -t testschema -p 1 -r http://localhost:8081 |
Did you solve the problem? I got the same mistake |
I'm seeing the same issues as reported by Lnixdb and passiondjc above. I see it's been ~2 years since it was first reported, and I do not see a resolution yet. Is this still an active github thread? If yes, can someone please provide a resolution? |
See my response in #32 |
Hi,
I' trying to use your examples, in particular serdes-tool.
I don't understand which parameter is "-s", because, if I set the path of my json schema the error is:
FATAL: Failed to get schema: REST request failed (code -1): HTTP request failed: Couldn't connect to server
Could you explain me how I have to set my input?
Thank you very much
Angelo
The text was updated successfully, but these errors were encountered: