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

修改配置文件emqx_bridge_kafka.conf未生效 #2

Open
601950157 opened this issue Jun 25, 2021 · 3 comments
Open

修改配置文件emqx_bridge_kafka.conf未生效 #2

601950157 opened this issue Jun 25, 2021 · 3 comments

Comments

@601950157
Copy link

我用EMQ4.0.0源码编译kafka插件,插件地址 https://github.com/sternz99/emqx_bridge_kafka ,在修改了etc/plugins/emqx_bridge_kafka.conf配置文件内容,没有生效,在web界面启动kafka插件的时候,日志内容输出Initialized ekaf with {"192.168.91.182",9092}。请问我如何通过修改配置文件内容并生效?

@sternz99
Copy link
Owner

sternz99 commented Jun 25, 2021 via email

@601950157
Copy link
Author

我的编译路径在/usr/local/emqx-rel/_build/emqx/rel/emqx,修改的配置文件路径/usr/local/emqx-rel/_build/emqx/rel/emqx/etc/plugins,名称为emqx_bridge_kafka.config,内容如下:

[
{emqx_bridge_kafka,
[{values, [
{bootstrap_broker, {"10.9.1.113", 9092}},
{partition_strategy, strict_round_robin},
{kafka_producer_topic, <<"Processing">>}
]}
]}
].
但是在web界面启动emqx_bridge_kafka插件过程中,输出的日志内容如下:
Initialized ekaf with {"192.168.91.182",9092}

与我在配置文件中的bootstrap_broker内容不一致,说明配置文件内容没有生效,请问还有什么原因导致这种情况?

@601950157
Copy link
Author

可以加一下您的联系方式吗?我的QQ是601950157,微信wyl6019。

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