Hi Team, I wan to debug pinot server. I start some...
# troubleshooting
n
Hi Team, I wan to debug pinot server. I start some components with docker and start pinot server with IntelliJ. I get the error when creating table via REST API
Copy code
{
  "code": 500,
  "error": "org.apache.pinot.spi.stream.TransientConsumerException: org.apache.pinot.shaded.org.apache.kafka.common.errors.TimeoutException: Timeout expired while fetching topic metadata"
}
the streamConfig is as below
Copy code
"streamConfigs": {
      "streamType": "kafka",
      "stream.kafka.consumer.type": "lowlevel",
      "stream.kafka.topic.name": "test",
      "stream.kafka.decoder.class.name": "org.apache.pinot.plugin.inputformat.json.JSONMessageDecoder",
      "stream.kafka.decoder.prop.projectId": "1",
      "stream.kafka.consumer.factory.class.name": "org.apache.pinot.plugin.stream.kafka20.KafkaConsumerFactory",
      "stream.kafka.broker.list": "localhost:9092",
      "stream.kafka.consumer.prop.auto.offset.reset": "smallest",
      "realtime.segment.flush.threshold.time": "2h",
      "realtime.segment.flush.threshold.rows": "0",
      "realtime.segment.flush.threshold.segment.size": "300M",
      "realtime.segment.flush.autotune.initialRows": "10000"
    }
m
Seems like connectivity issue between Pinot and Kafka
x
pinot server is already exited, it’s not running
n
@Xiang Fu Yes. I start Pinot server with IntelliJ, and want to debug decoder plugin
@Mayank I think so. but I create topic in terminal and it work. So Is seems no connectivity issue to “localhost:9092”
x
if in intellij, how can pinot controller talk to your local pinot server from docker ?
your docker network has no access to your local machine network, so the cluster won’t reach pinot server
I would suggest to start everything on your local
✔️ 1
you can modify
org.apache.pinot.tools.RealtimeQuickStart
class to remove Server part
start locally
then test your server to connect to the kafka
n
got it, thanks