You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "wolf27w (via GitHub)" <gi...@apache.org> on 2024/03/13 02:30:03 UTC

[I] [Doc] 在k8s中配置acl持久化plain_acl.yml [rocketmq]

wolf27w opened a new issue, #7906:
URL: https://github.com/apache/rocketmq/issues/7906

   ### Search before creation
   
   - [X] I had searched in the [issues](https://github.com/apache/rocketmq/issues) and found no similar issues.
   
   
   ### Documentation Related
   
   在kubernetes中配置rockermq的acl,有一个问题是,开启acl后,plain_acl.yml这个文件在是/home/rocketmq/rocketmq-4.9.4/conf这个路径下,但是这个路径又无法挂载到pvc里,导致plain_acl.yml使用configmap挂载时导致目录下的文件都不可用,后来看到说可以使用-Drocketmq.acl.plain.file=这个参数修改plain_acl.yml文件的路径,我就在borker中添加启动参数,mqbroker,-c,/home/rocketmq/conf/broker-common.conf -Drocketmq.acl.plain.file=/home/rocketmq/acl/plain_acl.yml,并且plain_acl.yml已经加载到容器里了,但是启动后报错:
   `OpenJDK 64-Bit Server VM warning: If the number of processors is expected to increase from one, then you should configure the number of parallel GC threads appropriately using -XX:ParallelGCThreads=N
   
   2024-03-13T10:28:18.780102598+08:00 usage: mqbroker [-c <arg>] [-h] [-m] [-n <arg>] [-p]
   
   2024-03-13T10:28:18.780125553+08:00  -c,--configFile <arg>       Broker config properties file
   
   2024-03-13T10:28:18.780129264+08:00  -h,--help                   Print help
   
   2024-03-13T10:28:18.780131575+08:00  -m,--printImportantConfig   Print important config item
   
   2024-03-13T10:28:18.780134429+08:00  -n,--namesrvAddr <arg>      Name server address list, eg: '192.168.0.1:9876;192.168.0.2:9876'
   
   2024-03-13T10:28:18.780137561+08:00  -p,--printConfigItem        Print all config item
   
   `
   想问一下有什么其他的方法解决不,我的rockermq是4.9.7
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Doc] 在k8s中配置acl持久化plain_acl.yml [rocketmq]

Posted by "RongtongJin (via GitHub)" <gi...@apache.org>.
RongtongJin closed issue #7906: [Doc] 在k8s中配置acl持久化plain_acl.yml
URL: https://github.com/apache/rocketmq/issues/7906


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Doc] 在k8s中配置acl持久化plain_acl.yml [rocketmq]

Posted by "leizhiyuan (via GitHub)" <gi...@apache.org>.
leizhiyuan commented on issue #7906:
URL: https://github.com/apache/rocketmq/issues/7906#issuecomment-2005400611

   你这个报错看这个跟acl还没关系。启动参数并不需要acl文件。
   
   你这里是-c 都没传递给broker。你要检查下自己怎么在k8s里面设置的。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org