Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nginx 启动报错 #27

Open
katherine1191 opened this issue Oct 12, 2021 · 3 comments
Open

nginx 启动报错 #27

katherine1191 opened this issue Oct 12, 2021 · 3 comments

Comments

@katherine1191
Copy link

hi~

我的nginx版本: 1.18.0

依次下载并编译 librdkafka、ngx_kafka_module、nginx,配置 nginx.conf 后,启动 nginx 报错如下:

%5|1634039250.497|CONFWARN|rdkafka#producer-1| [thrd:app]: No bootstrap.servers configured: client will not be able to connect to Kafka cluster

image

网上找了一段时间,除了有提到版本不匹配的,没有找到其他原因,因为该 nginx 版本是公司内通用的,所以没办法降版本号

@katherine1191
Copy link
Author

重装了几次,以上警告信息依然存在,但数据正常写入 kafka 了

@brg-liuwei
Copy link
Owner

这个问题看上去是因为kafka的版本提高了,有了一个新的配置项,而librdkafka比较老,没有这个对应配置项,导致的警告。这个项目我已经很久没有维护了,所以这个警告信息不太好解决。

@katherine1191
Copy link
Author

哦哦,明白了,谢谢,其实测试下来好像对数据也没有影响,可以使用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants