helpshift / ekaf

A minimal, high-performance Kafka client in Erlang.
https://engineering.helpshift.com
Other
165 stars 50 forks source link

Kafka plug-in make error #63

Closed harry9932 closed 5 years ago

harry9932 commented 5 years ago

OS: centos7 Erlang/OTP: 21.3 EMQ: 3.1.0

make[1]: 进入目录“/root/emqtt/emqx-rel/deps/emqx_plugin_kafka” make[2]: 进入目录“/root/emqtt/emqx-rel/deps/ekaf” make[3]: 进入目录“/root/emqtt/emqx-rel/deps/kafkamocker” make[3]: 离开目录“/root/emqtt/emqx-rel/deps/kafkamocker” make[2]: 离开目录“/root/emqtt/emqx-rel/deps/ekaf” ERLC emqx_plugin_kafka.erl src/emqx_plugin_kafka.erl:50: record emqx_client undefined src/emqx_plugin_kafka.erl:51: variable 'ClientId' is unbound src/emqx_plugin_kafka.erl:55: record emqx_client undefined src/emqx_plugin_kafka.erl:56: variable 'ClientId' is unbound src/emqx_plugin_kafka.erl:85: record emqx_message undefined src/emqx_plugin_kafka.erl:175: record emqx_message undefined src/emqx_plugin_kafka.erl:176: record emqx_message undefined src/emqx_plugin_kafka.erl:177: record emqx_message undefined src/emqx_plugin_kafka.erl:178: record emqx_message undefined src/emqx_plugin_kafka.erl:179: record emqx_message undefined src/emqx_plugin_kafka.erl:180: record emqx_message undefined src/emqx_plugin_kafka.erl:181: record emqx_message undefined src/emqx_plugin_kafka.erl:182: record emqx_message undefined src/emqx_plugin_kafka.erl:175: Warning: variable 'Id' is unused src/emqx_plugin_kafka.erl:182: Warning: variable 'Timestamp' is unused src/emqx_plugin_kafka.erl:212: Warning: variable 'Username' is unused src/emqx_plugin_kafka.erl:214: Warning: variable 'ClientId' is unused src/emqx_plugin_kafka.erl:222: Warning: function ekaf_set_topic/1 is unused make[2]: [ebin/emqx_plugin_kafka.app] 错误 1 make[1]: [app] 错误 2 make[1]: 离开目录“/root/emqtt/emqx-rel/deps/emqx_plugin_kafka” make: *** [deps] 错误 2