I want to hit a URL which contains data, i want to retreive this data using spring boot and convert it to AVRO format. data needs to be picked up in JSON format
Asked
Active
Viewed 33 times
0
-
You might find something usefull on https://www.baeldung.com/spring-cloud-stream-kafka-avro-confluent. – Kaj Hejer Mar 31 '21 at 16:14
1 Answers
0
data and url in one sentence raises alarm. Unless you have a particular need (usually legacy reasons) to use URL to send data, use requestbody for sending the data. Remember, many browsers will have URL character limit even though http protocol doesn't talk about any
If you are adamant about sending Jsondata using url, either look into base64encode it and send and then base64decode it on serverside. Or do URL encoding and Decoding . Because there is a highchance that the data might not be URL-safe

so-random-dude
- 15,277
- 10
- 68
- 113