Tag:stream

  • Simple usage of spring cloud stream

    Time:2022-4-27

    catalogue Simply use spring cloud stream to build rocketmq based producers and consumers producer consumer Other features of stream Processing of message sending failure Consumer error handling Spring cloud stream provides a good upper abstraction of MQ in the spring cloud system, which allows us to decouple with the specific message middleware and shield the […]

  • Detailed explanation of redis stream type

    Time:2022-3-20

    catalogue 1、 Background 2、 Characteristics of stream type in redis 3、 Structure of stream 4、 Stream command 1. Xadd adds a message to the end of the stream 1. Command format 2. Examples 2. Xrange viewing messages in stream 1. Command format 2. Prepare data 3. Examples 3. Xrevrange reverses the view of messages in […]

  • Rust

    Time:2022-2-22

    Rust door Rust rules Installation AC from insideWindows and its installation/ a> Trust installer and hospital management interface/ h4> curl –proto ‘=https’ –tlsv1.2 -sSf https://sh.rustup.rs | shForged ring guard ц Bank Top touch? Installing an extended imageexport RUSTUP_DIST_SERVER=https://mirrors.ustc.edu.cn/r…export RUSTUP_UPDATE_ROOT=https://mirrors.ustc.edu.cn/r…curl https://sh.rustup.rs -sSf | shThe results are as follows: ~Why? curl https://sh.rustup.rs -sSf | sh info: downloading […]

  • Description of the difference between java8 stream() and parallelstream()

    Time:2022-1-28

    What is the difference between java8 stream() and parallelstream() Stream Stateless: refers to that the processing of elements is not affected by previous elements; Stateful: this means that the operation cannot continue until all elements are obtained. Non short circuit operation: it means that all elements must be processed to obtain the final result; Short […]

  • New features of java9 stream collectors (summary)

    Time:2021-4-11

    What’s new in Java 9 stream collectors Java 8 introduces collectors to accumulate input elements to variable containers such as map, list and set. This article looks at two new collectors in Java 9: Collectors.filtering And Collectors.flatMapping , mainly used for and Collectors.groupingBy Together to provide a collection of intelligent elements Collectors.filtering method Collectors.filtering Method […]

  • Group function of java8 stream

    Time:2021-1-24

    preface Recently, there was a problem in project development. According to the business requirements, the parameters sent by the front end to the back end are a list (such as list). Therefore, the back end also uses a list to receive. However, after the back-end gets the data, I find that I need to process […]

  • Group instance analysis of java8 stream collect group

    Time:2020-12-12

    This article mainly introduces the java8 stream collect group by group example analysis, the article through the example code introduction is very detailed, to everybody’s study or the work has certain reference study value, the need friend may refer to The entity class people has a buildpeoplelist method that returns list, which is convenient for […]

  • Using HTML5 stream to develop real-time monitoring system

    Time:2020-7-14

    These days, we are trying to use RTSP (real time streaming protocol) to complete the function of real-time transmission and display of camera images. After all, Hikvision’s web controls do not support high-level chrome. If we use this technology, it will be difficult to optimize and upgrade the subsequent system. RTSP protocol has some H5 […]

  • Laravel access error prompt: ` warning: require (/ vendor / autoload. PHP): failed to open stream: no such file or di solution

    Time:2020-4-22

    The example of this article describes the error prompt of laravel framework access: ` warning require (vendorautoload. PHP) failed to open stream no such file or dire solution. To share with you for your reference, as follows: Error message: `Warning: require(/http/www.mywakavLee.cn/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /http/www.mywakavLee.cn/bootstrap/autoload.php on line 17 […]

  • The perfect combination of redis streams and spark

    Time:2019-10-19

    Source: redislabsBy Roshan KumarTranslation: Kevin (public No.: Middleware) Recently, I was honored to present the topic of “spark + AI” at the spark + AI summit.“Redis + Structured Streaming:Expand the perfect mix of your continuous applications”Speech. My interest in this topic is driven by the new features that Apache spark and redis have introduced in […]

  • Introduction to Flutter Stream and the Use of Some Operators

    Time:2019-9-26

    Preface For new contactsFlutterFor students,Stream(flow) is a relatively abstract and relatively difficult thing to understand. To be exactStreamNot at allFlutterCharacteristic, butDartThe Library of language itself.StreamandFutureAll locateddart:asyncCore libraries are two masters of asynchronous operation in Dart. So it can be used more than justFlutterIt can be used for anything.DartLanguage implementation. When we first started learning Flutter, […]

  • Stream module of weex encapsulated twice

    Time:2019-9-22

    Weex Network Request Weex network request, using its built-in module Stream. Stream API fetch(options, callback[,progressCallback])Initiate network requests Note: 1. The body parameter only supports string-type parameters. Do not pass JSON directly. You must first convert it to a string.2. The body parameter does not support Get requests. If you use Get requests, you need to […]