摘要:定时清理7天前的Tomcat日志脚本 #!/bin/bash logs_path="/tomcat/tomcat-token/logs" find $logs_path -mtime +7 -name "localhost_access_log.*.txt" -exec rm -rf {} \; f
        阅读全文
        
            posted @ 2021-02-02 16:52  
鱼儿也疯狂
    
        
    
	
文章分类 - Kafka
摘要:定时清理7天前的Tomcat日志脚本 #!/bin/bash logs_path="/tomcat/tomcat-token/logs" find $logs_path -mtime +7 -name "localhost_access_log.*.txt" -exec rm -rf {} \; f
        阅读全文
 
        
            posted @ 2021-02-02 16:52 
    
摘要:1.新建topic kafka-topics.sh --create --zookeeper `ka zk` --replication-factor 1 --partitions 3 --topic testpartition 2.从1副本增加到3副本 cat replica-extends.js
        阅读全文
 
        
            posted @ 2021-01-25 19:55 
    
  |