snleee commented on code in PR #12214: URL: https://github.com/apache/pinot/pull/12214#discussion_r1441045099
########## pinot-spi/src/main/java/org/apache/pinot/spi/stream/StreamConfig.java: ########## @@ -142,7 +143,10 @@ public StreamConfig(String tableNameWithType, Map<String, String> streamConfigMa } _connectionTimeoutMillis = connectionTimeoutMillis; - int fetchTimeoutMillis = DEFAULT_STREAM_FETCH_TIMEOUT_MILLIS; + // For Kinesis, we need to set a higher fetch timeout to avoid getting stuck in empty records loop + int fetchTimeoutMillis = + !_consumerFactoryClassName.contains("KinesisConsumerFactory") ? DEFAULT_STREAM_FETCH_TIMEOUT_MILLIS_KINESIS Review Comment: Let's at least add `TODO` comment to clean up this part not to expose Kinesis concept if possible. Some potential approach is to use 10min global default timeout if Kafka side will not be affected by bumping up the timeout -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org