1、配置好flume到kafka进行数据消费
当我在kafka创建好消费主题,然后到flume启动时报如下错误:
- 启动命令:(在flume的bin目录下)
./flume-ng agent -n a1 -c ../config -f ../config/config/flume-exec-kafka.conf
- 报错信息:
ERROR node.Application: A fatal error occurred while running. Exception follows.
org.apache.commons.cli.ParseException: The specified configuration file does not exist: /home/software/flume-1.9.0/config/config/flume-exec-kafka.conf
at org.apache.flume.node.Application.main(Application.java:342)