https://github.com/btraceio/btrace/blob/master/docs/usersguide.html
https://web.archive.org/web/20170410014122/https://kenai.com/projects/btrace/pages/UserGuide
$ kafka-acls --help | |
This tool helps to manage acls on kafka. | |
Option Description | |
------ ----------- | |
--add Indicates you are trying to add ACLs. | |
--allow-host <String: allow-host> Host from which principals listed in -- | |
allow-principal will have access. If | |
you have specified --allow-principal | |
then the default for this option | |
will be set to * which allows access |
import lombok.extern.slf4j.Slf4j; | |
import org.springframework.beans.BeansException; | |
import org.springframework.context.ApplicationContext; | |
import org.springframework.context.ApplicationContextAware; | |
import org.springframework.context.ApplicationListener; | |
import org.springframework.context.event.ContextRefreshedEvent; | |
import org.springframework.stereotype.Component; | |
/** | |
* Utility bean for getting Spring beans from static context |
微服务 | Martin Fowler
作者:Martin Fowler & James Lewis 译者:伍斌
原文:http://martinfowler.com/articles/microservices.html
转载自:https://mp.weixin.qq.com/s/dqk7CTX1W3FNCE7GyCgbSQ
https://mp.weixin.qq.com/s/h4p2_-RmCFJzXmusQOWbcw
https://insights.thoughtworks.cn/microservices-martin-fowler/
(注:仅调整了译文的文字排版)
# 生成私钥,默认 pkcs1 格式 | |
openssl genrsa -out private_key_pkcs1.pem 1024 | |
# 生成公钥,默认 pkcs8 格式 | |
openssl rsa -pubout -in private_key_pkcs1.pem -out public_key_pkcs8.pem | |
# 私钥转 pkcs8 格式 | |
openssl pkcs8 -topk8 -in private_key_pkcs1.pem -inform pem -out private_key_pkcs8.pem -outform pem -nocrypt | |
# 只保留 pem 文件中的 base64 内容 | |
cat private_key_pkcs8.pem | sed '1d;$d' | tr -d '\n' > private_key.txt | |
cat public_key_pkcs8.pem | sed '1d;$d' | tr -d '\n' > public_key.txt |
转载自:https://linux.cn/article-10191-1.html
原文:https://opensource.com/article/18/10/introduction-tcpdump
作者:Ricardo Gerardi;译者:LCTT
以我作为管理员的经验,在网络连接中经常遇到十分难以排查的故障问题。对于这类情况,tcpdump
便能派上用场。
转载自:http://ifeve.com/jmm-cookbook/
原文地址:http://gee.cs.oswego.edu/dl/jmm/cookbook.html
作者:Doug Lea,由 JMM 邮件组的成员提供帮助,dl@cs.oswego.edu。
译者:潘曦,丁一,古圣昌,欧振聪,方腾飞; 校对:欧振聪,方腾飞
原文:http://www.cs.umd.edu/~pugh/java/memoryModel/jsr-133-faq.html
作者:Jeremy Manson, Brian Goetz, 2004.02
译者:Alex,方腾飞
目录
Topic 相关
updateTopic
: 创建/更新 Topic 配置deleteTopic
: 删除 TopictopicList
: 查看 Topic 列表信息topicRoute
: 查看 Topic 路由信息topicStatus
: 查看 Topic 消息队列 offsettopicClusterList
: 查看 Topic 所在集群列表updateTopicPerm
: 更新 Topic 读写权限参考来源:
Elasticsearch Reference 7.6: REST APIs https://www.elastic.co/guide/en/elasticsearch/reference/7.6/rest-apis.html
目录: