【已解决】Exception in thread “main“ joptsimple.UnrecognizedOptionException: bootstrap-server is not a re

2023-10-17 08:50:45 浏览数 (2)

【已解决】Exception in thread “main” joptsimple.UnrecognizedOptionException: bootstrap-server is not a recognized option

问题

–bootstrap-server 识别不出来

思路

https://blog.csdn.net/weixin_45865428/article/details/121264496

Kafka版本为2.11 不支持bootstrap-server

解决

改为*–zookeeper*

成功不报错!

0 人点赞