Tag:Consumer

  • Detailed explanation of redis stream type commands

    Time:2021-10-14

    This article was first published on personal blog, and the article link is: https://blog.d77.xyz/archives/d1007463.html preface Recently, the stream data type in redis is used as message queue in the project, which is more convenient than the message queue implemented by other redis. Since it is the first time to use, record the knowledge points for […]

  • Kafka client parameter description (Kafka client version 2.4):

    Time:2021-10-8

    1: Consumer endConsumer parameters are defined in the class: org.apache.kafka.clients.consumer.consumerconfig. 1.1: bootstrap.servers: default: nullList of host / port pairs used to establish an initial connection to the Kafka cluster. The client will use all the servers, not just the nodes configured here. Because these server addresses are only used to initialize the connection and discover […]

  • Using thrift to realize some learning notes of matching system (c + + to realize the part of match_system)

    Time:2021-10-6

    match_system Based on thrift, the goal is to simulate a matching system, which is similar to the matching of two users in the game Parameters received: OneUserVariable representing a user OnestringVariable, optional additional information added, set tostringType is also used to facilitate future maintenance. In this way, you can pass in ajsonTable, so it has […]

  • Disruptor note 2: disruptor class analysis

    Time:2021-10-6

    Welcome to my GitHub https://github.com/zq2599/blog_demos Content: classification and summary of all original articles and supporting source code, involving Java, docker, kubernetes, Devops, etc; Links to the disruptor Notes Series quick get start Disruptor class analysis Basic operation of ring queue (without disruptor class) Summary of event consumption knowledge points Event consumption practice Common scenarios Waiting […]

  • Disruptor note 3: basic operation of ring queue (without disruptor class)

    Time:2021-9-30

    Welcome to my GitHub https://github.com/zq2599/blog_demos Content: classification and summary of all original articles and supporting source code, involving Java, docker, kubernetes, Devops, etc; Links to the disruptor Notes Series quick get start Disruptor class analysis Basic operation of ring queue (without disruptor class) Summary of event consumption knowledge points Event consumption practice Common scenarios Waiting […]

  • Rabbitmq and Kafka: how to ensure the order of messages

    Time:2021-9-28

    In this article, we will discuss the following issues: How to ensure the order of messages Take a chestnut We have done a MySQL binlog synchronization system before, and the pressure is still very great. The daily synchronization data should reach hundreds of millions, that is, the data should be synchronized from one MySQL database […]

  • Hadoop-10-kafka of big data

    Time:2021-9-27

    1、 Kafka overview 1. Definition Kafka is a distributed system based on publish / subscribe modeMessage queue, mainly used inBig data real-time processing field。 2. Infrastructure (1) Producer: Message producer, which is the client that sends messages to Kafka broker;(2) Consumer: the message consumer, the client that fetches messages from Kafka broker;(3) Consumer group (CG): […]

  • Why can McDonald’s, the 31st year in mainland China, continue to attract new consumers?

    Time:2021-9-27

    Introduction:McDonald’s digital transformation has been fully implemented since 2016, striving to enable consumers to enjoy McDonald’s products and services at any time, anywhere and in any way. The digital transformation has achieved remarkable results in the past few years! The introduction of Alibaba cloud data platform will become an important part of McDonald’s digital transformation […]

  • Channel practical application, this is enough!

    Time:2021-9-26

    Series articles: Channel practical application, this is enough! Go brush 1.0 every Monday It is said that this article has a bit of a title, but it is definitely dry goods. There have been many articles about channel, why should I write it? Any knowledge point, as long as you want, you can cut in […]

  • Producer consumer issues

    Time:2021-9-23

    Producer consumer issues Singleton pattern, sorting algorithm, producer and consumer, deadlock Synchronized version wait notify public class A { public static void main(String[] args) { Data data = new Data(); new Thread(()->{ for (int i = 0;i< 10;i++) { try { data.increment(); } catch (InterruptedException e) { e.printStackTrace(); } } },”A”).start(); new Thread(()->{ for (int […]

  • Talk about Kafka: Kafka’s infrastructure

    Time:2021-9-20

    Welcome to my WeChat official account, old Chou chat architecture, the principle of Java back-end technology stack, source code analysis, architecture and various Internet high concurrency, high-performance and high availability solutions. 1、 My story with the express brother On a normal working day, Lao Zhou was busy tapping the code. It seemed that there was […]

  • Kafka from introduction to practice

    Time:2021-9-18

    Caption: pixabay Last week, I made an internal sharing in the company about Kafka popular science. Summary output: ​ What is Kafka? Open source message engine system. Stream processing platform. We are talking more about “message queuing”. What is stream processing? A stream is data. Processing is action. Stream processing is the action of continuously […]