Spring Cloud Stream介绍 Spring Cloud Stream,官方定义Spring Cloud Stream是一个构建消息驱动微服务的框架 应用程序通过 inputs 或者 outputs 来与 Spring Cloud Stream 中的binder对象交互,通过配置bind ...
分类:
编程语言 时间:
2020-05-07 00:25:01
阅读次数:
104
``` //单点修改 pushup //查询区间内的最大字段和 #include #include #include #include using namespace std; const int N = 500010; int n, m; int w[N]; struct Node { //端点 ... ...
分类:
其他好文 时间:
2020-05-06 20:03:08
阅读次数:
53
为什么使用spring stream ? spring stream 是用来做消息队列发送消息使用的。他隔离了各种消息队列的区别,使用统一的编程模型来发送消息。 目前支持: rabbitmq kafka rocketmq 启动rocketmq rocketmq 支持windows start mqn ...
分类:
编程语言 时间:
2020-05-06 18:05:55
阅读次数:
77
1.pulsar概述 Apache Pulsar 是灵活的发布-订阅消息系统(Flexible Pub/Sub messaging),采用分层分片架构(backed by durable log/stream storage)。 Apache Pulsar 是一个开源的分布式pub-sub消息系统, ...
分类:
其他好文 时间:
2020-05-06 17:53:05
阅读次数:
75
参考算法导论 #include <iostream> using namespace std; void merge(int a[],int p,int q,int r) { if(p==r) { return; } int n1=q-p+1; int n2=r-q; int L[n1+1]={0} ...
分类:
编程语言 时间:
2020-05-06 14:22:54
阅读次数:
61
``` #include #include #include #include #include using namespace std; const int N = 30; const int dx[4] = { -1, 0, 1, 0 }; const int dy[4] = { 0, -1, ... ...
分类:
其他好文 时间:
2020-05-06 14:13:00
阅读次数:
56
到目前为止,我们定义的函数都是没有异常类型列表的。 异常说明也叫作异常类型列表,声明了一个函数可以抛出的异常类型。没有定义异常类型列表的函数可以抛出任意类型的异常,这样看起来比较方便,但是这样的代码是不健壮的,并不是一个良好的编程习惯。函数应告诉程序员它可以抛出哪些异常,由此程序员才能写出健壮的代码 ...
分类:
编程语言 时间:
2020-05-06 14:07:51
阅读次数:
58
./configure --prefix=/opt/nginx-1.17.10 --with-http_stub_status_module --with-http_realip_module --with-http_ssl_module --with-pcre --with-http_realip ...
分类:
Web程序 时间:
2020-05-06 11:40:33
阅读次数:
114
1 package com.bawei.stream 2 3 import java.net.InetSocketAddress 4 5 import org.apache.spark.storage.StorageLevel 6 import org.apache.spark.streaming. ...
分类:
Web程序 时间:
2020-05-05 18:21:50
阅读次数:
79
文件系统 HDFS Hadoop Distributed File System,简称HDFS,是一个分布式文件系统。HDFS是一个高度容错性的系统,适合部署在廉价的机器上。HDFS能提供高吞吐量的数据访问,非常适合大规模数据集上的应用。 GlusterFS 是一个集群的文件系统,支持PB级的数据量 ...
分类:
其他好文 时间:
2020-05-05 18:09:27
阅读次数:
70