上一页 1 2 3 4 5 6 7 ··· 20 下一页

2023年7月13日

kafka-consumer.go

摘要: package consumer import ( "fmt" "kafka/mongo" "strconv" "strings" "sync" "github.com/Shopify/sarama" ) type CRead func() string func Run() { var wg sy 阅读全文

posted @ 2023-07-13 19:22 木林coder 阅读(10) 评论(0) 推荐(0) 编辑

2023年7月1日

启动的docker添加目录映射

摘要: https://blog.51cto.com/u_13250/6402661 阅读全文

posted @ 2023-07-01 00:01 木林coder 阅读(12) 评论(0) 推荐(0) 编辑

2023年6月11日

nginx-ssl

摘要: https://www.cnblogs.com/shi2310/p/16424447.html docker run --name nginx -p 443:443 -p 80:80 -v /usr/etc/docker/nginx/www:/usr/share/nginx/html -v /usr 阅读全文

posted @ 2023-06-11 14:25 木林coder 阅读(288) 评论(0) 推荐(0) 编辑

2023年6月10日

docker清理空间

摘要: Docker - 解决/var/lib/docker/overlay2占用很大、容器无法启动问题(清理磁盘) https://www.hangge.com/blog/cache/detail_2555.html Docker overlay2占用大量磁盘空间解决办法 http://blog.hcod 阅读全文

posted @ 2023-06-10 16:54 木林coder 阅读(3) 评论(0) 推荐(0) 编辑

2023年6月7日

nginx - rewrite -location

摘要: https://blog.csdn.net/qq1356059950/article/details/125014248 阅读全文

posted @ 2023-06-07 23:14 木林coder 阅读(2) 评论(0) 推荐(0) 编辑

2023年6月2日

go(mp3, 桌面程序)

摘要: go播放mp3 https://blog.csdn.net/weixin_39550816/article/details/104724990 Windows下最能凑合用的桌面GUI库(lxn/walk 起步教程) https://www.qyyshop.com/info/941781.html 阅读全文

posted @ 2023-06-02 23:46 木林coder 阅读(9) 评论(0) 推荐(0) 编辑

2023年5月27日

consul-api

摘要: https://www.consul.io/api-docs/index https://www.cnblogs.com/whuanle/p/14648286.html 阅读全文

posted @ 2023-05-27 23:10 木林coder 阅读(1) 评论(0) 推荐(0) 编辑

2023年5月24日

mongo.php

摘要: "root", 'password' => "123456", 'db' => "admin" ]); return $manager; } function mongoQuery($manager) { //查询 $filter = ['age' => ['$gt' => 5]]; $option 阅读全文

posted @ 2023-05-24 21:35 木林coder 阅读(2) 评论(0) 推荐(0) 编辑

es.php

摘要: setHosts(['192.168.133.131'])->build(); //如果es设置了密码 // $es = \Elasticsearch\ClientBuilder::create()->setHosts(['http://username:password@192.168.133.1 阅读全文

posted @ 2023-05-24 21:35 木林coder 阅读(7) 评论(0) 推荐(0) 编辑

kafka.php

摘要: setRebalanceCb(function (RdKafka\KafkaConsumer $kafka, $err, array $partitions = null) { switch ($err) { case RD_KAFKA_RESP_ERR__ASSIGN_PARTITIONS: // 阅读全文

posted @ 2023-05-24 21:34 木林coder 阅读(33) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 ··· 20 下一页

导航