일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
- sort
- Test
- token filter test
- 차트
- 파이썬
- high level client
- plugin
- aggregation
- license delete
- TensorFlow
- matplotlib
- 900gle
- zip 파일 암호화
- ELASTIC
- docker
- springboot
- analyzer test
- licence delete curl
- MySQL
- Python
- Java
- zip 암호화
- Kafka
- API
- Elasticsearch
- query
- Mac
- License
- flask
- aggs
- Today
- Total
목록분류 전체보기 (477)
개발잡부
파이썬 Elasticsearch client 생성 회사 ES 계속 에러남 .. 3번째로 시도해 봐야겠음 client = Elasticsearch([{'host': config.elastic_host, 'port': config.elastic_port}]) client = Elasticsearch(http_auth=('elastic', 'dlengus')) client = Elasticsearch(["http://elastic:dlengus@localhost:9200"]) client = Elasticsearch("https://elastic:password@회사.co.kr:443/", ca_certs=False ) 당췌 뭐가 문제인지.. File "/Users/doo/opt/anaconda3/envs/d..

https://github.com/yahoo/CMAK/releases Releases · yahoo/CMAK CMAK is a tool for managing Apache Kafka clusters. Contribute to yahoo/CMAK development by creating an account on GitHub. github.com 2. 다운로드 후 압축 해제 $ tar -xzvf CMAK-3.0.0.5.tar.gz 3. sbt 실행 sbt : Simple Build Tool, 스칼라를 위한 빌드 툴 압축해제된 폴더에서 sbt 실행 $ cd CMAK-3.0.0.5/ $ ./sbt clean dist 4. kafka-manager-3.0.0.5.zip 파일 압축 해제 sbt 실행 후 만들어진 ..
input { kafka { bootstrap_servers => "kafkahost:9092" topics => ["search_query_log"] group_id => "logstash" type => "search_query" consumer_threads => 1 } kafka { bootstrap_servers => "kafkahost:9092" topics => ["search_query_log2"] group_id => "logstash" type => "search_query2" consumer_threads => 1 } } filter { json { source => "message" } mutate { add_field => { "ls_timestamp" => "%{@timestam..
11:14:56 ### Error querying database. Cause: java.sql.SQLException: Error retrieving record: Unexpected Exception: java.io.EOFException message given: Can not read response from server. Expected to read 475 bytes, read 463 bytes before connection was unexpectedly lost. #autoReconnectForPools 옵션 autoReconnectForPools=true url: jdbc:mysql://{host}:{port}/{DB}?useUnicode=true&useCursorFetch=true&ch..
package com.bbongdoo.doo.keyword; import com.bbongdoo.doo.domain.Keywords; import com.bbongdoo.doo.domain.KeywordsRepository; import com.bbongdoo.doo.service.KeywordsService; import org.assertj.core.api.Assertions; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context..
Annotation package com.bbongdoo.doo.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Target({ElementType.TYPE, ElementType.METHOD}) @Retention(RetentionPolicy.RUNTIME) public @interface Timer { } Aspect package com.bbongdoo.doo.aspect; import org.aspectj.lang.ProceedingJoi..
한개의 컬럼에 UNIQUE 설정 @Column(name="column" , unique=true) long column 두 개 이상 컬럼을 묶어 UNIQUE 설정 @Table 속성 uniqueConstraints 사용 @Entity @Table( name="keywords", uniqueConstraints={ @UniqueConstraint( name={"contstraintName"} columnNames={"keyword", "use_yn"} ) } ) @Data public class Entity{ @Column(name="keyword") String keyword; @Column(name="use_yn") String use_yn; } http://iryan.kr/t7eogjtthy 농심 먹태..
PRIMARY KEY(기본키) 테이블 생성 시 CREATE TABLE table_name ( col1 int(11) PRIMARY KEY ) CREATE TABLE table_name ( col1 int(11), col2 int(11), PRIMARY KEY (col1, col2) ) 추가 ALTER TABLE table_name ADD PRIMARY KEY (col1) 삭제 ALTER TABLE table_name DROP PRIMARY KEY UNIQUE KEY(유니크키) 테이블 생성 시 CREATE TABLE table_name ( col1 int(11), col2 int(11), UNIQUE KEY unique_name (col1, col2) ) 추가 ALTER TABLE table_name AD..