• Elastic Search 基础知识

    Elastic Search 基础知识基本概念es是什么 es是一个分布式文件存储系统,意味着es可以拥有多个节点 节点间如何同步数据? 各种复杂的数据都会以json的格式进行序列化,然后进行存储 使用反向索引的方式来存储数据,这个索引中存储了整个文档中所有的去重之后的词条 什么是inverted-index? 在es中,不同类型数据会使用不同的存储结构,比如说,文本会用inverted-...
  • code lint

    feature works write batect script to execute this check run it in docker container add allure report generation (add this following into the reporting plugins) 12345<property><name>a...
  • ffmpeg 随笔

    浅谈ffmpeg为什么要分享这个玩意    One day, 我在Mac上下载了一部电影,然后想拷贝到U盘中,然后再连接电视上的接口。这时候呢,正当我要拷贝电影的时候,遇到了我的知识盲区了,为啥我的U盘能检测到,但是电脑上的文件没法往U盘里头送,但是U盘里面东西又可以往外面传呢?我尝试了下面几种方法: 翻箱倒柜,找出其他的U盘,一个个的试 ...
  • ffmpeg basic concept

    ffmpeg java demo What is ffmpeg High frequency using library libavcodec, contains all encoders and decoders, which is used to encode or decode the resource you input libavformat, deal with the muxe...
  • How to test es in your local

    Elastic Search Integration test What is the Elastic Search Engine How to run local elastic search run docker cmd 123docker run -p 9200:9200 \-e "discovery.type=single-node" \docker.elasti...
  • 优雅的实现策略

    优雅的实现策略阅读本文大约10min 什么是easy rule easy rule 是一个rule engine工具,用来代替复杂的if else block,在代码中使得业务能够得到更好的分离,从而让代码能够更好的使用策略模式来分离业务 easy rule除了支持java以外还支持,Go,Groovy,C# 更多关于rule engine的details,给大家推荐一篇老马的文章Rule...
  • spring101

    restful api code source webflux constructor injection to wire up dependencies and @ComponentScan to find beans using webflux router to build controller junit.jupiter webTestClient using as a tes...
  • How to integrate aut0 in springboot

    Auth0 In Spring-BootWhat is auth0? Auth0 is a open-source service for providing authentication and authorization. You can create a auth0 application on the auth0 server, then it will generate clien...
  • 如何定义自己的spring starter

    为什么要开发 spring starter 为了理解为什么我们需要开发spring starter这样的一个工具,主要原因还要从spring mvc开始说起。因为早期的MVC框架中,如果要引入其他的依赖,需要在项目的xml中配置很多。那如果依赖的的越多,或者项目的越复杂,那么加入的配置也会越多,最终导致我们xml文件也会非常的复杂。 因为有了👆🏻的痛点之后,spring加入了auto-...
  • 如何搭建自己的推流服务器

    前言 上一篇 文章 中写到了,我是如何使用FFmpeg将不能直接播放的视频弄成QuickTime支持的格式。那些个操作感觉就是有些个笨拙,充满了程序员式的执著。难道我要在电视上播放一个视频,就非得转码,然后再拷贝到电视上么。非也,其实任何音视频都是“流“。那么流是不是就可以传输呢,水可以通过水管传输到我们想要的地方,那音视频怎么传播呢,靠的是网络架构中的传输层传递。那么在接下来的文章中,我将...
1345