摘要:
package com.lxw.kafkademo; import org.apache.kafka.clients.producer.KafkaProducer; import org.apache.kafka.clients.producer.ProducerConfig; import org 阅读全文
摘要:
pom <dependency> <groupId>org.springframework.kafka</groupId> <artifactId>spring-kafka</artifactId> </dependency> KafkaConsumerDemo.java package com.l 阅读全文
摘要:
修改 nginx.conf 自定义日志格式、路径 log_format my_format '$remote_addr $msec $http_host $request_uri'; 使用精准配准,对/log.jpg的请求记录自定义日志。 location =/log.jpg { default_t 阅读全文
摘要:
官网 https://nginx.org/en/download.html 在安装nginx前首先要确认系统中安装了gcc、pcre-devel、zlib-devel、openssl-devel linux 检查是否安装过某软件包 yum -y install gcc pcre-devel zlib 阅读全文