使用Apache Kafka Java客户端(0.9),我正在尝试使用Kafka Producer类向代理发送一长串记录.
异步发送方法立即返回一段时间,然后在短时间内开始阻塞每次调用.大约三十秒后,客户端开始抛出异常(TimeoutException),并显示消息"Batch expired".
什么情况导致抛出此异常?
我正在尝试使用静态文件将更新部署到简单的HTML应用程序.使用静态buildpack,我之前已经部署了应用程序,没有任何问题.
推送应用程序更新时,该命令失败并显示以下消息:
----> Downloaded app package (4.0K) Cloning into '/tmp/buildpacks/staticfile-buildpack'... Submodule 'compile-extensions' (https://github.com/cloudfoundry-incubator/compile-extensions.git) registered for path 'compile-extensions' FAILED Server error, status code: 400, error code: 170004, message: App staging failed in the buildpack compile phase
查看应用程序的日志,由于与堆栈不兼容,平台无法暂存.
ERR Cloning into '/tmp/buildpacks/staticfile-buildpack'... OUT Submodule 'compile-extensions' (https://github.com/cloudfoundry-incubator/compile-extensions.git) registered for path 'compile-extensions' ERR Cloning into 'compile-extensions'... OUT Submodule path 'compile-extensions': checked out '1f260464c156bddfb654adb14298344797d030a1' ERR It looks like you're deploying on a stack that's not supported by this buildpack. ERR That could be …