大数据
传奇1949
这个作者很懒,什么都没留下…
展开
-
logstash 7.11.1 收集tomcat catalina日志
注:配置文件里配置是多数据源catalina日志样例:25-Apr-2021 00:38:29.431 INFO [Thread-8] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8080"]25-Apr-2021 00:38:29.439 INFO [Thread-8] org.apache.catalina.core.StandardService.stopInternal Stopp原创 2021-04-26 11:12:31 · 435 阅读 · 0 评论 -
logstash 7.11.1 收集clickhouse日志到elasticsearch
1、clickhouse日志样式:2021.04.14 09:20:43.114711 [ 1 ] {} <Information> Application: Will watch for the process with pid 442021.04.14 09:20:43.114917 [ 44 ] {} <Information> Application: Forked a child process to watch2021.04.14 09:20:43.115122原创 2021-04-23 15:43:23 · 1310 阅读 · 0 评论 -
kafka生产者、消费者示例
package com.kafka.demo;import java.util.Arrays;import java.util.Properties;import org.apache.kafka.clients.consumer.Consumer;import org.apache.kafka.clients.consumer.ConsumerConfig;import org.apache.kafka.clients.consumer.ConsumerRecord;import org.a.原创 2021-03-24 16:31:48 · 364 阅读 · 0 评论 -
基于Centos 7.6 搭建kafka kafka_2.12-2.7.0集群配置
1、zookeeper集群搭建在71、72、73服务器。2、三台机器上的kafka配置信息如下,记录个别位置修改,已经在下文标出。# Licensed to the Apache Software Foundation (ASF) under one or more# contributor license agreements. See the NOTICE file distributed with# this work for additional information regard原创 2021-03-19 13:25:09 · 479 阅读 · 0 评论