Short: An incorrect connection to the schema registry service leads to a invalid json parse error (don't know the exact message).
Long: My program tries to reach the Schema Registry Service at port 8081, it's actually run at port 8083.
At port 8081 there is another service returning a http code 403 (Bad Request). When the Avro Consumer / Producer tries to reach any resources, the don't throws a 'can not connect correctly' error, but return a 'json parsing' error. Just tested it with 403 error, but I think it's the same with any 400 or 500 error code. I had the problem at the Consumer side (when trying to process a working kafka Event) as well as on Producer side (when trying to send an event).
Excepted: At a http error, it should return a error message containing the error
Actual: showing an error, that the return value he tried to parse as json is invalid
How to reproduce
Change the port of the schema registry service where another (or no) service is running.
Checklist
Please provide the following information:
[x] Confluent.Kafka nuget version: latest
[x] Apache Kafka version: latest
[x] Client configuration: latest
[x] Operating system: Tested on Win10x64
[ ] Provide logs (with "debug" : "..." as necessary in configuration)
Description
Short: An incorrect connection to the schema registry service leads to a invalid json parse error (don't know the exact message).
Long: My program tries to reach the Schema Registry Service at port 8081, it's actually run at port 8083. At port 8081 there is another service returning a http code 403 (Bad Request). When the Avro Consumer / Producer tries to reach any resources, the don't throws a 'can not connect correctly' error, but return a 'json parsing' error. Just tested it with 403 error, but I think it's the same with any 400 or 500 error code. I had the problem at the Consumer side (when trying to process a working kafka Event) as well as on Producer side (when trying to send an event).
Excepted: At a http error, it should return a error message containing the error Actual: showing an error, that the return value he tried to parse as json is invalid
How to reproduce
Change the port of the schema registry service where another (or no) service is running.
Checklist
Please provide the following information: