摘要:
input { http{ host => "0.0.0.0" #http启动端口 port => 8088 #接受JSON数据 additional_codecs => {"text/plain"=>"json"} codec => "plain" #线程数 threads => 8 #关闭ssl 阅读全文
摘要:
下载编译好的二进制文件 https://github.com/wgzhao/Addax/releases/download/4.0.2/addax-4.0.2.tar.gz tar -xzf addax-4.0.2.tar.gz cd addax-4.0.2 读http写pgsql { "job": 阅读全文
摘要:
minioObject, getObjErr := minioClient.GetObject(ConfigUtil.MinioBucket, key, minio.GetObjectOptions{})if getObjErr != nil { c.JSON(http.StatusOK, gin. 阅读全文
摘要:
1、下载LuaXml 链接: https://pan.baidu.com/s/1RfQ3aI9yJUJzbu8x5gPCSg 提取码: 2kbx 2、安装LuaXml 修改Makefile文件,主要修改红色字体部份 # 2009-03-16 by gf # generic compiler and 阅读全文
摘要:
1、安装 bin/logstash-plugin install logstash-output-jdbc 安装过程有些慢 2、离线安装 找一个已安装好的环境,将其进行打包 bin/logstash-plugin prepare-offline-pack --output /usr/local/lo 阅读全文
摘要:
1、先停用CentOS7自带的防火墙 //关闭防火墙 systemctl stop firewalld.service //永久关闭防火墙 systemctl disable firewalld.service 2、安装iptables yum install -y iptables-service 阅读全文
摘要:
#!/bin/bash count=`ps aux | grep "kafka" | grep -v grep -c` if [ $count -eq 0 ]; then echo 'Not running...' else echo 'running...' fi 阅读全文
摘要:
from selenium import webdriver from pykeyboard import PyKeyboard import time import os k = PyKeyboard() files = os.listdir('H:\Report2020') for f in f 阅读全文
摘要:
1、先安装模块PyUserInput pip install PyUserInput -i https://pypi.mirrors.ustc.edu.cn/simple/ pip install pypiwin32 -i https://pypi.mirrors.ustc.edu.cn/simpl 阅读全文
摘要:
在config目录下多了一个kraft目录,在该目录中有一套新的配置文件,可以直接脱离ZooKeeper运行 配置kraft目录中的server.properties文件 单机的话主要是修改下面的配置 advertised.listeners=PLAINTEXT://localhost:9092 将 阅读全文