新年快乐
我在这里是因为我遇到一个错误运行时,卡夫卡的MongoDB源连我试图运行连接,独立与connect-avro-standalone.properties和MongoSourceConnector.properties使这是写在MongoDB的卡夫卡话题连接写入数据.
在尝试这一进展时,我遇到了这个错误,我找不到答案,所以我写在这里。
这就是我想做的
bin/connect-standalone etc/schema-registry/connect-avro-standalone.properties share/confluent-hub-components/mongodb-kafka-connect-mongodb/etc/MongoSourceConnector.properties
Run Code Online (Sandbox Code Playgroud)
这是connect-avro-standalone.properties
# Sample configuration for a standalone Kafka Connect worker that uses Avro serialization and
# integrates the the Schema Registry. This sample configuration assumes a local installation of
# Confluent Platform with all services running on their default ports.
# Bootstrap Kafka servers. If multiple servers are specified, they should be comma-separated.
bootstrap.servers=localhost:9092
# The converters specify the format of data in Kafka and how …Run Code Online (Sandbox Code Playgroud) 我正在将 Elastic Beanstalk 与 Docker 平台结合使用。
当我部署到 EB 时,它显示 docker 构建失败日志以及 docker 构建超时。
我想我的项目需要更多时间来构建 dockerfile。
所以我想增加 EB 上的 docker 构建超时选项。
.ebextensions/increase-timeout.config我尝试使用以下选项设置写入文件
option_settings:
- namespace: aws:elasticbeanstalk:command
option_name: Timeout
value: 1000
Run Code Online (Sandbox Code Playgroud)
它只是增加 EB 命令超时选项,而不是 docker 构建超时。
如何更改 EB docker 构建超时选项??
deployment docker amazon-elastic-beanstalk dockerfile npm-install