Pulsar 客户端错误 - 无法加载身份验证插件
Pulsar Client Error - Failed to load an authentication plugin
当尝试 运行 pulsar-client 在本地使用命令时,出现错误:
Failed to load an authentication plugin
这是命令我运行:
./pulsar-client consume persistent://data-log/ingest/data-log-kafka -s damo
我配置了 client.conf
,下面列出了来自 pulsar 的完整 "stack trace"。我看不到我错过了什么
Failed to load an authentication plugin
Usage: pulsar-client [options] [command] [command options]
Options:
--auth-params
Authentication parameters, e.g., "key1:val1,key2:val2".
Default: token:eyJh##############################
--auth-plugin
Authentication plugin class name.
Default: org.apache.pulsar.client.impl.auth.AuthenticationToken
-h, --help
Show this help.
Default: false
--url
Broker URL to which to connect.
Default: pulsar+ssl://aaa-bbb-ccc-ms-tls.acme.com:6651
Commands:
consume Consume messages from a specified topic
Usage: consume [options] TopicName
Options:
--hex
Display binary messages in hex.
Default: false
-n, --num-messages
Number of messages to consume, 0 means to consume forever.
Default: 1
-r, --rate
Rate (in msg/sec) at which to consume, value 0 means to consume
messages as fast as possible.
Default: 0.0
* -s, --subscription-name
Subscription name.
-t, --subscription-type
Subscription type: Exclusive, Shared, Failover.
Default: Exclusive
Possible Values: [Exclusive, Shared, Failover]
感谢任何提示!谢谢
问题是我使用的是旧版本的 Pulsar,在 2.5.0 上运行良好。噢!!!!
当尝试 运行 pulsar-client 在本地使用命令时,出现错误:
Failed to load an authentication plugin
这是命令我运行:
./pulsar-client consume persistent://data-log/ingest/data-log-kafka -s damo
我配置了 client.conf
,下面列出了来自 pulsar 的完整 "stack trace"。我看不到我错过了什么
Failed to load an authentication plugin
Usage: pulsar-client [options] [command] [command options]
Options:
--auth-params
Authentication parameters, e.g., "key1:val1,key2:val2".
Default: token:eyJh##############################
--auth-plugin
Authentication plugin class name.
Default: org.apache.pulsar.client.impl.auth.AuthenticationToken
-h, --help
Show this help.
Default: false
--url
Broker URL to which to connect.
Default: pulsar+ssl://aaa-bbb-ccc-ms-tls.acme.com:6651
Commands:
consume Consume messages from a specified topic
Usage: consume [options] TopicName
Options:
--hex
Display binary messages in hex.
Default: false
-n, --num-messages
Number of messages to consume, 0 means to consume forever.
Default: 1
-r, --rate
Rate (in msg/sec) at which to consume, value 0 means to consume
messages as fast as possible.
Default: 0.0
* -s, --subscription-name
Subscription name.
-t, --subscription-type
Subscription type: Exclusive, Shared, Failover.
Default: Exclusive
Possible Values: [Exclusive, Shared, Failover]
感谢任何提示!谢谢
问题是我使用的是旧版本的 Pulsar,在 2.5.0 上运行良好。噢!!!!