Kafka schema guessing timeout error #2280
-
Hi guys, I have an issue reading data from the Kafka topic. The thing is that I have Kafka connected to the Kafka Adapter, all topics are listed in the Adapter configuration, but when it comes to configuring fields, I receive a 'Read timed out' error. I'm using 'connect-configs' to check if it will work; there is definitely a single JSON object with 3 fields, so there is no chance of a lack of data. It was also checked with a topic with some data from SQL (JDBC connector data). I've tried all JSON settings, and nothing works for me. I'm using StreamPipes 0.93.0 and Kafka 3.6.0. Timeout error message: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hi @mihau1211,
Cheers, |
Beta Was this translation helpful? Give feedback.
-
Hi @mihau1211 the Thanks for the detailed description of the error you get - one thing which could be worth to check is the Kafka configuration. Sometimes, when the metadata discovery works (which seems to be the case since you get the list of topics), but data cannot be retrieved (which happens when the connect module starts to "guess" the schema, this is due to Kafka settings missing an Could this be the case? We can try to figure out where you're running Kafka and check that the broker address returned by Kafka is reachable from the StreamPipes container. Here is some information on that: Just a guess...if it's another problem, we can investigate further ;-) |
Beta Was this translation helpful? Give feedback.
Hi @mihau1211 the
Method Not Allowed
message should be ok since the endpoint only support POST requests, and the browser usually performs a GET.Thanks for the detailed description of the error you get - one thing which could be worth to check is the Kafka configuration. Sometimes, when the metadata discovery works (which seems to be the case since you get the list of topics), but data cannot be retrieved (which happens when the connect module starts to "guess" the schema, this is due to Kafka settings missing an
advertised_listener
which is accessible from inside the Docker network.Could this be the case? We can try to figure out where you're running Kafka and check that the broker addr…