You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
org.apache.rocketmq.auth.authentication.exception.AuthenticationException: Init authentication user error.
at org.apache.rocketmq.auth.authentication.manager.AuthenticationMetadataManagerImpl.initUser(AuthenticationMetadataManagerImpl.java:73)
at org.apache.rocketmq.auth.authentication.manager.AuthenticationMetadataManagerImpl.(AuthenticationMetadataManagerImpl.java:44)
at org.apache.rocketmq.auth.authentication.factory.AuthenticationFactory.getMetadataManager(AuthenticationFactory.java:70)
at org.apache.rocketmq.broker.BrokerController.(BrokerController.java:348)
at org.apache.rocketmq.broker.BrokerStartup.buildBrokerController(BrokerStartup.java:215)
at org.apache.rocketmq.broker.BrokerStartup.createBrokerController(BrokerStartup.java:247)
at org.apache.rocketmq.broker.BrokerStartup.main(BrokerStartup.java:52)
Caused by: java.util.concurrent.CompletionException: java.lang.IllegalStateException: The authenticationMetadataProvider is not configured
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:292)
at java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:989)
at java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2137)
at org.apache.rocketmq.auth.authentication.manager.AuthenticationMetadataManagerImpl.initUser(AuthenticationMetadataManagerImpl.java:66)
... 6 more
Caused by: java.lang.IllegalStateException: The authenticationMetadataProvider is not configured
at org.apache.rocketmq.auth.authentication.manager.AuthenticationMetadataManagerImpl.getAuthenticationMetadataProvider(AuthenticationMetadataManagerImpl.java:211)
at org.apache.rocketmq.auth.authentication.manager.AuthenticationMetadataManagerImpl.getUser(AuthenticationMetadataManagerImpl.java:164)
... 7 more
Additional Context
No response
The text was updated successfully, but these errors were encountered:
zhiliatom
added a commit
to zhiliatom/rocketmq-zzl
that referenced
this issue
May 7, 2024
Before Creating the Bug Report
I found a bug, not just asking a question, which should be created in GitHub Discussions.
I have searched the GitHub Issues and GitHub Discussions of this repository and believe that this is not a duplicate.
I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.
Runtime platform environment
mac m1
RocketMQ version
develop
JDK Version
1.8
Describe the Bug
broekr.conf
brokerClusterName = DefaultCluster
namesrvAddr = 127.0.0.1:9876
brokerName = broker-a
brokerId = 0
deleteWhen = 04
fileReservedTime = 48
storePathRootDir = /Users/zzl/01opensource/data
brokerRole = ASYNC_MASTER
flushDiskType = ASYNC_FLUSH
aclEnable = true
authenticationEnabled = true
authenticationProvider = org.apache.rocketmq.auth.authentication.provider.DefaultAuthenticationProvider
initAuthenticationUser = {"username":"rocketmq","password":"12345678"}
innerClientAuthenticationCredentials = {"accessKey":"rocketmq","secretKey":"12345678"}
authenticationMetadataProvider = org.apache.rocketmq.auth.authentication.provider.LocalAuthenticationMetadataProvider
Steps to Reproduce
like before
What Did You Expect to See?
start success
What Did You See Instead?
org.apache.rocketmq.auth.authentication.exception.AuthenticationException: Init authentication user error.
at org.apache.rocketmq.auth.authentication.manager.AuthenticationMetadataManagerImpl.initUser(AuthenticationMetadataManagerImpl.java:73)
at org.apache.rocketmq.auth.authentication.manager.AuthenticationMetadataManagerImpl.(AuthenticationMetadataManagerImpl.java:44)
at org.apache.rocketmq.auth.authentication.factory.AuthenticationFactory.getMetadataManager(AuthenticationFactory.java:70)
at org.apache.rocketmq.broker.BrokerController.(BrokerController.java:348)
at org.apache.rocketmq.broker.BrokerStartup.buildBrokerController(BrokerStartup.java:215)
at org.apache.rocketmq.broker.BrokerStartup.createBrokerController(BrokerStartup.java:247)
at org.apache.rocketmq.broker.BrokerStartup.main(BrokerStartup.java:52)
Caused by: java.util.concurrent.CompletionException: java.lang.IllegalStateException: The authenticationMetadataProvider is not configured
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:292)
at java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:989)
at java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2137)
at org.apache.rocketmq.auth.authentication.manager.AuthenticationMetadataManagerImpl.initUser(AuthenticationMetadataManagerImpl.java:66)
... 6 more
Caused by: java.lang.IllegalStateException: The authenticationMetadataProvider is not configured
at org.apache.rocketmq.auth.authentication.manager.AuthenticationMetadataManagerImpl.getAuthenticationMetadataProvider(AuthenticationMetadataManagerImpl.java:211)
at org.apache.rocketmq.auth.authentication.manager.AuthenticationMetadataManagerImpl.getUser(AuthenticationMetadataManagerImpl.java:164)
... 7 more
Additional Context
No response
The text was updated successfully, but these errors were encountered: