1、创建topic 使用 kafka-topics.sh脚本 kafka-topics.sh --create --partitions 3 --replication-factor 2 --topic test --zookeeper hadoop01:2181,hadoop02:2181,had ...
分类:
其他好文 时间:
2021-06-20 18:38:22
阅读次数:
0
一、如何执行 ./adapter.sh 20211121 'importdata.sh|!DATE' adapter.sh:适配器脚本 20201121:适配器脚本参数1,执行日期 'importdata.sh|!DATE':适配器脚本参数2,具体需要执行的脚本和参数,以|分隔,多个参数也以|分隔 ...
分类:
系统相关 时间:
2021-06-19 18:59:41
阅读次数:
0
Ctrl+Shift + Enter,语句完成。 “!”,否定完成,输入表达式时按 “!”键。 Ctrl+E,最近的文件。 Ctrl+Shift+E,最近更改的文件。 Shift+Click,可以关闭文件。 Ctrl+[ OR ],可以跑到大括号的开头与结尾。 Ctrl+F12,可以显示当前文件的结 ...
分类:
其他好文 时间:
2021-06-18 19:43:19
阅读次数:
0
#include<stdio.h>#include<stdlib.h>typedef int ElemType;typedef struct DNode{ ElemType data; struct DNode *prior,*next; }DNode,*DLinkList; //初始化链表 boo ...
分类:
其他好文 时间:
2021-06-17 17:21:37
阅读次数:
0
案例四:封装共有操作 封装一个数据库的会话的类 点击查看详细代码 import java.sql.*; public class ConnectionUtil { /** * 获取连接对象的方法,返回一个Connection * 方法体中是共有操作:加载驱动,建立连接 */ public stati ...
分类:
数据库 时间:
2021-06-17 17:10:30
阅读次数:
0
一.new ,delete的重载: new和delete是运算符 malloc --系统调用 --申请到内存 --用完 --free -- 系统调用 --归还内存 malloc(1)-- 系统调用 --申请较大的空间暂时归于用户层管理 malloc申请一个内存 malloc(2) --直接从用户层管 ...
分类:
其他好文 时间:
2021-06-16 17:49:22
阅读次数:
0
一 新增文档 #新增一个id为1的书籍(POST和PUT都可以) POST lqz/_doc/1/_create #POST lqz/_doc/1 #POST lqz/_doc 会自动创建id,必须用Post { "title":"红楼梦", "price":12, "publish_addr":{ ...
分类:
其他好文 时间:
2021-06-16 17:39:04
阅读次数:
0
1 match和term查询 # 并且和或者的条件 #并且 GET t3/doc/_search { "query": { "bool": { "must": [ { "match": { "title": "beautiful" } }, { "match": { "desc": "beautif ...
分类:
其他好文 时间:
2021-06-16 17:37:02
阅读次数:
0
1、原生集成 # https://github.com/elastic/elasticsearch-py # https://github.com/elastic/elasticsearch-dsl-py # Official low-level client for Elasticsearch # ...
分类:
编程语言 时间:
2021-06-16 17:36:10
阅读次数:
0
原文: https://maplemei.gitee.io/xm-select/#/component/install https://gitee.com/maplemei/xm-select https://maplemei.gitee.io/xm-select/#/basic/prop 代码 < ...
分类:
其他好文 时间:
2021-06-15 18:52:43
阅读次数:
0